1 line shorter
This commit is contained in:
parent
dbd493921f
commit
dd2bbb5879
1 changed files with 1 additions and 2 deletions
|
@ -69,8 +69,7 @@ def import_toml(path: str, file: str, copy_file: bool=True) -> None:
|
||||||
else:
|
else:
|
||||||
measurement = sfcf.read_data(path, uuid, md['path'], md['prefix'], param,
|
measurement = sfcf.read_data(path, uuid, md['path'], md['prefix'], param,
|
||||||
version=md['version'], cfg_seperator=md['cfg_seperator'], sep='/')
|
version=md['version'], cfg_seperator=md['cfg_seperator'], sep='/')
|
||||||
write_measurement(path, ensemble, measurement, uuid,
|
write_measurement(path, ensemble, measurement, uuid, project['code'], md['param_file'])
|
||||||
project['code'], md['param_file'])
|
|
||||||
print(mname + " imported.")
|
print(mname + " imported.")
|
||||||
if not os.path.exists(os.path.join(path, "toml_imports", uuid)):
|
if not os.path.exists(os.path.join(path, "toml_imports", uuid)):
|
||||||
os.makedirs(os.path.join(path, "toml_imports", uuid))
|
os.makedirs(os.path.join(path, "toml_imports", uuid))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue