fix tube 32 value and roll back moddict change for relative
@@ -144,16 +144,10 @@ def _modDict(originaldict, moddict, relative=False):
Updated original dictionary with values from moddict.
'''
for key in moddict:
- if relative is False:
try:
originaldict[key] = moddict[key]
except:
print("Wrong key in modified dictionary")
- else:
- try:
- originaldict[key] = originaldict[key]+moddict[key]
- except:
- print("Wrong key in modified dictionary")
return originaldict
@@ -2738,7 +2732,6 @@ class RadianceObj:
print('\nMaking .rad files for cumulativesky 1-axis workflow')
for theta in trackerdict:
scene = SceneObj(moduletype)
-
if trackerdict[theta]['surf_azm'] >= 180:
trackerdict[theta]['surf_azm'] = trackerdict[theta]['surf_azm']-180
trackerdict[theta]['surf_tilt'] = trackerdict[theta]['surf_tilt']*-1
