We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 32cedf2 + ed2b0b4 commit 5bb08efCopy full SHA for 5bb08ef
netqasm/runtime/cli.py
@@ -22,7 +22,7 @@
22
post_function_from_path,
23
)
24
from netqasm.runtime.env import get_example_apps, init_folder, new_folder
25
-from netqasm.runtime.process_logs import create_app_instr_logs
+from netqasm.runtime.process_logs import create_app_instr_logs, make_last_log
26
from netqasm.runtime.settings import (
27
Formalism,
28
Simulator,
@@ -356,7 +356,9 @@ def simulate(
356
enable_logging=log_to_files,
357
hardware=hardware,
358
359
- create_app_instr_logs(log_cfg.log_subroutines_dir)
+ if log_to_files:
360
+ create_app_instr_logs(log_cfg.log_subroutines_dir)
361
+ make_last_log(log_cfg.log_subroutines_dir)
362
363
if timer:
364
print(f"finished simulation in {round(time.perf_counter() - start, 2)} seconds")
0 commit comments