Skip to content

Commit

Permalink
Fix Issue#4: Json config float error
Browse files Browse the repository at this point in the history
  • Loading branch information
vjf committed Aug 27, 2024
1 parent 597b375 commit 44d9d6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/lib/config_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ def add_vol_config(self, gs_dict, geom_obj, style_obj, meta_obj):
'dataDims': geom_obj.vol_sz,
'origin': geom_obj.vol_origin,
'size': geom_obj.get_vol_side_lengths(),
'maxVal': geom_obj.get_max_data(),
'minVal': geom_obj.get_min_data(),
'maxVal': float(geom_obj.get_max_data()),
'minVal': float(geom_obj.get_min_data()),
'rotation': geom_obj.get_rotation()}
if style_obj.get_colour_table():
modelconf_dict['volumeData']['colourLookup'] = style_obj.get_colour_table()
Expand Down

0 comments on commit 44d9d6c

Please sign in to comment.