Skip to content
Snippets Groups Projects
Commit 6a27eb7d authored by Oriol Tintó Prims's avatar Oriol Tintó Prims
Browse files

Instead of raising an exception I'll print a warning in case the output list is empty.

parent 0f210dac
No related branches found
No related tags found
1 merge request!2Split prepare_rundir.sh into three different stages for the whole experiment,...
......@@ -32,7 +32,7 @@ def compress_outputs():
output_files = [Path(f) for f in output_files]
if not output_files:
raise AssertionError("The list of files is empty!")
logger.warning("The list of files is empty!")
# Define output dir and create it in case it doesn't exist
OUTPUT_DIR = WORKDIR / "output" / STARTDATE / MEMBER
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment