Skip to content
Snippets Groups Projects
Commit a3dc399c authored by Gaspard Goupy's avatar Gaspard Goupy
Browse files

Add Error handler

parent f30d8c8b
No related branches found
No related tags found
No related merge requests found
...@@ -69,4 +69,7 @@ if __name__ == "__main__": ...@@ -69,4 +69,7 @@ if __name__ == "__main__":
if os.path.isdir(output_dir): raise RuntimeError("Output directory already exists. Aborting...") if os.path.isdir(output_dir): raise RuntimeError("Output directory already exists. Aborting...")
# Start run: vroum vroum # Start run: vroum vroum
run(input_dir, config_path_csnn, config_path_readout, output_dir, args.seed) try:
\ No newline at end of file run(input_dir, config_path_csnn, config_path_readout, output_dir, args.seed)
except Exception as e:
print("RUNNING ERROR:\n", e.output)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment