From 347fd50bf5a38970ee4afcec18af7d548c9bfda5 Mon Sep 17 00:00:00 2001 From: Takahiro Ueda Date: Mon, 12 Aug 2024 17:42:50 +0900 Subject: [PATCH] fix: outputs --- .github/workflows/run-tutorial-notebook.yml | 2 +- .github/workflows/test-notebooks.yml | 21 +++++---------------- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/.github/workflows/run-tutorial-notebook.yml b/.github/workflows/run-tutorial-notebook.yml index 85015da..0097d1c 100644 --- a/.github/workflows/run-tutorial-notebook.yml +++ b/.github/workflows/run-tutorial-notebook.yml @@ -54,7 +54,7 @@ jobs: - name: Run the notebook in a container id: run-notebook continue-on-error: true - run: + run: > docker run --rm -v $(pwd)/madminer_shared:/home/shared diff --git a/.github/workflows/test-notebooks.yml b/.github/workflows/test-notebooks.yml index 4a9c2d6..a150453 100644 --- a/.github/workflows/test-notebooks.yml +++ b/.github/workflows/test-notebooks.yml @@ -45,9 +45,7 @@ jobs: with: working-directory: examples/tutorial_particle_physics notebook: 2a_parton_level_analysis.ipynb - outputs: - data/lhe_data_shuffled.h5 - data/lhe_data.h5 + outputs: data/lhe_data_shuffled.h5 data/lhe_data.h5 tutorial_particle_physics_2b: needs: tutorial_particle_physics_1 @@ -56,9 +54,7 @@ jobs: with: working-directory: examples/tutorial_particle_physics notebook: 2b_delphes_level_analysis.ipynb - outputs: - data/delphes_data_shuffled.h5 - data/delphes_data.h5 + outputs: data/delphes_data_shuffled.h5 data/delphes_data.h5 tutorial_particle_physics_3a: needs: tutorial_particle_physics_2a @@ -67,9 +63,7 @@ jobs: with: working-directory: examples/tutorial_particle_physics notebook: 3a_likelihood_ratio.ipynb - outputs: - models/alices - models/alices_pt + outputs: models/alices models/alices_pt tutorial_particle_physics_3b: needs: tutorial_particle_physics_2a @@ -121,10 +115,7 @@ jobs: with: working-directory: examples/tutorial_particle_physics notebook: A1_systematic_uncertainties.ipynb - outputs: - data/lhe_data_systematics.h5 - data/setup_systematics.h5 - models/sally_systematics + outputs: data/lhe_data_systematics.h5 data/setup_systematics.h5 models/sally_systematics tutorial_particle_physics_a2: needs: build @@ -168,6 +159,4 @@ jobs: with: working-directory: examples/tutorial_particle_physics notebook: A6_finite_differences.ipynb - outputs: - data/lhe_data_fd.h5 - data/setup_fd.h5 + outputs: data/lhe_data_fd.h5 data/setup_fd.h5