QuaLiKiz-group / QuaLiKiz

Other
1 stars 0 forks source link

Error in binary generation using Ion structure without wrapper #23

Closed aaronkho closed 7 years ago

aaronkho commented 7 years ago

Error message below:

File "/home/emc/ho/QLK/QuaLiKiz/QuaLiKiz-pythontools/qualikiz_tools/qualikiz_io/qualikizrun.py", line 512, in generate_input plan = QuaLiKizPlan.from_json(parameterspath) File "/home/emc/ho/QLK/QuaLiKiz/QuaLiKiz-pythontools/qualikiz_tools/qualikiz_io/inputfiles.py", line 660, in from_json ionlist.append(Ion(ion)) TypeError: type object argument after must be a mapping, not str

aaronkho commented 7 years ago

Just checked, it works using an IonList structure with one entry in place of the Ion structure.

Karel-van-de-Plassche commented 7 years ago

I think always having a list in the 'ions' structure makes sense, so I'll leave it as it is.