Skip to content

Commit

Permalink
Fixed duplicated last line in radparser
Browse files Browse the repository at this point in the history
  • Loading branch information
mostaphaRoudsari committed Apr 16, 2018
1 parent 4d98f3f commit 0c304bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Honeybee_Honeybee.py
Expand Up @@ -47,7 +47,7 @@

ghenv.Component.Name = "Honeybee_Honeybee"
ghenv.Component.NickName = 'Honeybee'
ghenv.Component.Message = 'VER 0.0.63\nAPR_14_2018'
ghenv.Component.Message = 'VER 0.0.63\nAPR_15_2018'
ghenv.Component.IconDisplayMode = ghenv.Component.IconDisplayMode.icon
ghenv.Component.Category = "Honeybee"
ghenv.Component.SubCategory = "00 | Honeybee"
Expand Down Expand Up @@ -1127,7 +1127,7 @@ def getRadianceObjectsFromString(radFileString):
radFileString,
re.MULTILINE)

radObjects = (' '.join(''.join(radiance_object).split())
radObjects = (' '.join(radiance_object[0].split())
for radiance_object in raw_rad_objects)

radObjects = tuple(obj for obj in radObjects if obj and obj[0] != '#')
Expand Down
Binary file modified userObjects/Honeybee_Honeybee.ghuser
Binary file not shown.

0 comments on commit 0c304bf

Please sign in to comment.