[x] Ensure the graphs are outputted to json correctly after stage 2. (Overwrite stage 1).
[x] Ensure the network propagation is applied over the list of "nx_LIF" objects. (Just check they change over time, lateron, check if the SNN behaviour makes sense.)
Verify the output image name contains the timestamp in:
run_config_to_filename(run_config)
# TODO: Ensure output file exists.
# TODO: Verify the correct graphs is passed by checking the graph tag.
# TODO: merge experiment config, run_config into single dict.
if run_config["simulator"] == "nx":
if run_config["export_snns"]:
# Output the json dictionary of the files.
filename = run_config_to_filename(run_config)
print(f"Exporting image:{filename}\n")
output_stage_json(
experiment_config,
graphs_stage_2,
filename,
run_config,
stage_index,
"nx_LIF"
objects. (Just check they change over time, lateron, check if the SNN behaviour makes sense.)Verify the output image name contains the timestamp in: