Skip to content

Commit

Permalink
custom object fix for ini
Browse files Browse the repository at this point in the history
  • Loading branch information
shirubana committed Aug 3, 2022
1 parent 5fdc737 commit 57b141e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bifacial_radiance/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ def _makeModuleFromDict(self, x=None, y=None, z=None, xgap=None, ygap=None,
text += frametext
if hasattr(self, 'omega'):
text += self.omega.text
text += self.customtext # For adding any other racking details at the module level that the user might want.
text += '\n' + self.customtext # For adding any other racking details at the module level that the user might want.

self.text = text
return text
Expand Down
4 changes: 2 additions & 2 deletions tests/simulation3.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ axisofrotationTorqueTube = False
torqueTube = False
hpc = False
tracking = False
cumulativeSky = True
cumulativeSky = False
selectTimes = True
latitude = 37.5
longitude = -77.6
Expand Down Expand Up @@ -38,7 +38,7 @@ ygap = 0.0
zgap = 0.0
x = 1.59
y = 0.95
customtext = \n !xform -rz 0 customTT.rad | xform -t 0 0 -0.15
customtext = !xform -rz 0 C:\Users\sayala\Documents\GitHub\bifacial_radiance\tests\customTT.rad | xform -t 0 0 -0.15

[trackingParamsDict]

Expand Down

0 comments on commit 57b141e

Please sign in to comment.