Skip to content

Commit

Permalink
Re #8 - casts data array as float in ssm json converter
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallmcdonnell committed Aug 7, 2023
1 parent b8c4678 commit b4f05ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ssm_file_converter/services/ssm_json_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ def scidata_to_ssm_json(scidata: SciData) -> dict:

dataarray = parameter.get("dataarray", None)
if dataarray:
dataarray = [ float(x) for x in dataarray ]
output_parameter["numericValueArray"] = [
{"numberArray": dataarray}
]
Expand Down

0 comments on commit b4f05ac

Please sign in to comment.