Skip to content
Snippets Groups Projects
Commit 212cd5c1 authored by Christoph Alt's avatar Christoph Alt
Browse files

added float conversion for field keys

parent c4330723
No related merge requests found
Pipeline #42695 failed with stage
in 13 seconds
......@@ -35,7 +35,7 @@ def data_point_factory(run, *,
if tag_keys is None and no_tag_keys is None:
raise ValueError("You need either specify tag_keys or no_tag_keys")
fields = {key: run[key] for key in field_keys}
fields = {key: float(run[key]) for key in field_keys}
if tag_keys is None:
tag_keys = run.keys() - no_tag_keys - field_keys - {time_key}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment