diff --git a/scripts/run.py b/scripts/run.py index cf71cf67e8b7dc40cbeff5fb90b1ceb891ae78d2..2e50907773aa03db6bdd774ceb6f57de07a00604 100644 --- a/scripts/run.py +++ b/scripts/run.py @@ -69,4 +69,7 @@ if __name__ == "__main__": if os.path.isdir(output_dir): raise RuntimeError("Output directory already exists. Aborting...") # Start run: vroum vroum - run(input_dir, config_path_csnn, config_path_readout, output_dir, args.seed) \ No newline at end of file + try: + 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