Skip to content

Commit

Permalink
Function mapping to granta
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislavsulc committed Jan 22, 2024
1 parent 4650ac3 commit b80655c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mupifDB/workflowmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ def _getGrantaOutput(app, eid, name, obj_id, data_id, time, object_type):
obj = app.get(mupif.DataID[data_id], time, obj_id)
return {
"name": str(name),
"value": {"x": obj.x.value, "y": obj.y.value},
"value": {"x": list(obj.x.value), "y": list(obj.y.value)},
"type": "series",
"unit": str(obj.unit)
}
Expand Down

0 comments on commit b80655c

Please sign in to comment.