Skip to content

Commit 5922440

Browse files
author
John P. Artieda
committed
prod cores - changes from 100% to 90% for T1s
1 parent 18dd4d0 commit 5922440

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Pledges_View_SSB/prod_cores/prodcores.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ def calculateProdCore(json):
2626
color = row['COLORNAME']
2727
#_______________Calculate Prod[Cores]____________________________
2828
prodCore = 0 if value is None else value
29-
if (tierName == 'T1') or (tierName == 'T3' or siteName == 'T2_CH_CERN_AI' or siteName == 'T2_CH_CERN_HLT') :
30-
prodCore = int(prodCore)
29+
if (tierName == 'T1'):
30+
prodCore = int(int(prodCore) * 0.9)
31+
elif (tierName == 'T3' or siteName == 'T2_CH_CERN_AI' or siteName == 'T2_CH_CERN_HLT'):
32+
prodCore = int(int(prodCore) * 1)
3133
elif (tierName == 'T2'):
3234
prodCore = int(int(prodCore) * 0.5)
3335
if color == 'white':

0 commit comments

Comments
 (0)