From 6da005868c1799dc7260e553e0685d8d60e1b1bd Mon Sep 17 00:00:00 2001 From: Zachary Sweger Date: Fri, 20 Sep 2024 16:50:16 -0700 Subject: [PATCH] Add git push instructions --- _episodes/03-filling_out_your_benchmark.md | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/_episodes/03-filling_out_your_benchmark.md b/_episodes/03-filling_out_your_benchmark.md index 9111dd8..98161b4 100644 --- a/_episodes/03-filling_out_your_benchmark.md +++ b/_episodes/03-filling_out_your_benchmark.md @@ -140,6 +140,7 @@ cp ../starting_script/macros/plot_rho_physics_benchmark.C benchmarks/your_benchm ``` + Your benchmark directory should now look like this: ![Add a title]({{ page.root }}/fig/your_bench_dir_new.png) @@ -336,3 +337,32 @@ your_benchmark:analyze: - fi - echo "Finished copying!" ``` + +## Testing Real Pipelines + +We've set up our benchmark to do some real analysis! As a first test, let's make sure we're still running only over the simulation campaign. The `USE_SIMULATION_CAMPAIGN` in `setup.config` should be set to true. + +Now let's add our changes and push them to GitHub! + +```bash +git status +``` +This command should show something like this: +![Add a title]({{ page.root }}/fig/gitstatus_example.png) + +Now add all our changes: +```bash +git add benchmarks/your_benchmark/config.yml +git add benchmarks/your_benchmark/Snakefile +git add benchmarks/your_benchmark/analysis/uchannelrho.cxx +git add benchmarks/your_benchmark/analyze.sh +git add benchmarks/your_benchmark/macros/plot_rho_physics_benchmark.C +git add benchmarks/your_benchmark/macros/RiceStyle.h +git add benchmarks/your_benchmark/reconstruct.sh +git add benchmarks/your_benchmark/setup.config +git add benchmarks/your_benchmark/simulate.sh + +git commit -m "I'm beefing up my benchmark!" +git push origin pr/your_benchmark_ +``` +