Commit 2ea75e41 authored by holukas's avatar holukas
Browse files

Adjusted output folder name

parent 6ee9537b
......@@ -3,9 +3,8 @@
<component name="ChangeListManager">
<list default="true" id="254ecb79-655b-4854-8af6-177bb7347e8a" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/gui/gui.py" beforeDir="false" afterPath="$PROJECT_DIR$/bico/gui/gui.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/settings/_version.py" beforeDir="false" afterPath="$PROJECT_DIR$/bico/settings/_version.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/start_bico.py" beforeDir="false" afterPath="$PROJECT_DIR$/bico/start_bico.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/ops/file.py" beforeDir="false" afterPath="$PROJECT_DIR$/bico/ops/file.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/ops/setup.py" beforeDir="false" afterPath="$PROJECT_DIR$/bico/ops/setup.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -281,7 +280,7 @@
<workItem from="1607436447683" duration="6112000" />
<workItem from="1607504715733" duration="6609000" />
<workItem from="1607594405028" duration="3277000" />
<workItem from="1607607175897" duration="601000" />
<workItem from="1607607175897" duration="2744000" />
</task>
<servers />
</component>
......
......@@ -186,7 +186,7 @@ def export_raw_data_csv(df, outdir, logger, outfile='temp', compression='gzip'):
def export_stats_collection_csv(df, outdir, run_id, logger):
outpath = outdir / f"__STATS__"
# outpath = outdir / f"stats_{run_id}" # TODO act run_id
# outpath = outdir / f"stats_"
outpath = outdir / f"stats_{run_id}" # TODO act run_id
logger.info(f"Saving stats collection to {outpath}")
df.to_csv(f"{outpath}.csv", index=True)
......@@ -28,8 +28,8 @@ def make_run_outdirs(settings_dict):
"""Set output paths and create output folders"""
# Run output folder
settings_dict['dir_out_run'] = Path(settings_dict['dir_out']) / "TEST_OUT"
# settings_dict['dir_out_run'] = Path(settings_dict['dir_out']) / settings_dict['run_id'] # todo act
# settings_dict['dir_out_run'] = Path(settings_dict['dir_out']) / "TEST_OUT"
settings_dict['dir_out_run'] = Path(settings_dict['dir_out']) / settings_dict['run_id'] # todo act
if not Path.is_dir(settings_dict['dir_out_run']):
print(f"Creating folder {settings_dict['dir_out_run']} ...")
os.makedirs(settings_dict['dir_out_run'])
......
Supports Markdown
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