From 6cbbafa0a7ae711c7c0f7c21a6b2393cf31bcdf7 Mon Sep 17 00:00:00 2001 From: bruno-f-cruz <7049351+bruno-f-cruz@users.noreply.github.com> Date: Tue, 3 Dec 2024 04:03:10 -0800 Subject: [PATCH] Add further instructions --- _topics/_08_reproducible_research_practices/README.md | 4 ++++ .../src/python/analysis.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/_topics/_08_reproducible_research_practices/README.md b/_topics/_08_reproducible_research_practices/README.md index e14a6e3..a17aa18 100644 --- a/_topics/_08_reproducible_research_practices/README.md +++ b/_topics/_08_reproducible_research_practices/README.md @@ -19,3 +19,7 @@ pip install pydantic ``` +6. The repository has two demos: `demo1` and `demo2`. They can be identically. For `demo1`: +7. Compile the schema and create a valid instance by running the `./src/python/demo1.py` script. +8. Run the corresponding bonsai workflow by running the `./src/bonsai/demo1.bonsai` script. +9. Analysis for both demos can be found in the `./src/python/analysis.py` script. diff --git a/_topics/_08_reproducible_research_practices/src/python/analysis.py b/_topics/_08_reproducible_research_practices/src/python/analysis.py index d3256b4..e985e18 100644 --- a/_topics/_08_reproducible_research_practices/src/python/analysis.py +++ b/_topics/_08_reproducible_research_practices/src/python/analysis.py @@ -15,4 +15,4 @@ # print the task settings that gave rise to the trials with open(task_spec, "r", encoding="utf-8") as f: task_settings = Experiment.model_validate_json(f.read()) -print(task_settings) \ No newline at end of file +print(task_settings)