Skip to content

Commit

Permalink
Update title and fix some commands
Browse files Browse the repository at this point in the history
  • Loading branch information
finsberg committed Mar 18, 2024
1 parent 1df90b7 commit c360ed3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Material for PhD Retreat: Open Science and Reproducibility

This repository contains material for the seminar on from the *PhD Retreat Day 1: Open Science and Reproducibility*
This repository contains material for the seminar on from the *PhD Retreat Day 1: Open Science and Reproducibility - Unlocking reproducibility for your own research*

All material are available at https://scientificcomputing.github.io/phd-retreat-190324 built using [jupyter-book](https://jupyterbook.org/en/stable/intro.html).

Expand Down
2 changes: 1 addition & 1 deletion docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ marp: true
---

# PhD Retreat: Open Science and reproducibility

## Unlocking reproducibility for your own research
19.03.24


Expand Down
10 changes: 5 additions & 5 deletions docs/recording-computations.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ marp: true
└── requirements.txt
```
```
python3 code/run-pre-process.py raw_data/raw_data.txt -o data
python3 code/run-analysis.py data -o results
python3 code/run-post-process results.py -o figures
python3 code/run-pre-process.py raw_data/raw_data1.txt -o data/data1.csv
python3 code/run-analysis.py data/data1.csv -o results/results1.csv
python3 code/run-post-process.py results/results1.csv -o figures/figure1.png
```

---
Expand All @@ -76,7 +76,7 @@ Create script called `run_all_experiments.sh`
for file in file1 file2; do
python3 code/run-pre-process.py raw_data/${file}.txt -o data/${file}.csv
python3 code/run-analysis.py data/${file}.csv -o results/${file}.csv
python3 code/run-post-process results/${file}.csv -o figures/${file}.png
python3 code/run-post-process.py results/${file}.csv -o figures/${file}.png
done
```

Expand All @@ -92,7 +92,7 @@ import subprocess as sp
for file in ["file1", "file2"]:
sp.run(["python3", "code/run-pre-process.py", f"raw_data/{file}.txt", "-o", f"data/{file}.csv"])
sp.run(["python3", "code/run-analysis.py", f"data/{file}.csv", "-o", "results/{file}.csv"])
sp.run(["python3", "code/run-post-process", f"results/{file}.csv", "-o", "figures/{file}.png"])
sp.run(["python3", "code/run-post-process.py", f"results/{file}.csv", "-o", "figures/{file}.png"])
```

---
Expand Down

0 comments on commit c360ed3

Please sign in to comment.