Skip to content

Commit

Permalink
convert integer sirepo parameters to floats
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaswmorris committed Jul 17, 2023
1 parent 713306f commit 19b8fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sirepo_bluesky/sirepo_ophyd.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def create_classes(sirepo_data, connection, create_objects=True, extra_model_fie

components[k] = Cpt(
cpt_class,
value=v,
value=(float(v) if type(v) is int else v),
sirepo_dict=sirepo_dict,
sirepo_param=k,
)
Expand Down

0 comments on commit 19b8fda

Please sign in to comment.