put more cli
This commit is contained in:
parent
daab486f7b
commit
975501635a
3 changed files with 22 additions and 6 deletions
|
|
@ -18,7 +18,6 @@ import os
|
|||
|
||||
|
||||
def check_project_data(d):
|
||||
print(d.keys())
|
||||
if 'project' not in d.keys() or 'measurements' not in d.keys() or len(list(d.keys())) > 2:
|
||||
raise ValueError('There should only be two key on the top level, "project" and "measurements"!')
|
||||
project_data = d['project']
|
||||
|
|
@ -49,7 +48,6 @@ def import_toml(path, file, copy_file=True):
|
|||
project = toml_dict['project']
|
||||
measurements = toml_dict['measurements']
|
||||
uuid = import_project(path, project['url'])
|
||||
print(measurements.items())
|
||||
for mname, md in measurements.items():
|
||||
print("Import measurement: " + mname)
|
||||
ensemble = md['ensemble']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue