We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18dd4d0 commit 5922440Copy full SHA for 5922440
1 file changed
Pledges_View_SSB/prod_cores/prodcores.py
@@ -26,8 +26,10 @@ def calculateProdCore(json):
26
color = row['COLORNAME']
27
#_______________Calculate Prod[Cores]____________________________
28
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)
+ if (tierName == 'T1'):
+ 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)
33
elif (tierName == 'T2'):
34
prodCore = int(int(prodCore) * 0.5)
35
if color == 'white':
0 commit comments