From 8ddde85e6ebd6295f06e66e4073247cd1b75f0db Mon Sep 17 00:00:00 2001 From: Alan Coleman <alanco@umich.edu> Date: Fri, 8 Mar 2024 19:21:34 +0000 Subject: [PATCH] Python io and examples --- .gitlab-ci.yml | 2 -- examples/cascade_examples/em_shower.cpp | 2 -- examples/cascade_examples/mc_conex.cpp | 1 + 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c187b44fc..918d02cf4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -424,8 +424,6 @@ python-examples: paths: - ${CI_PROJECT_DIR}/python/examples/example_plots script: - - echo "pwd is $PWD" - - find . - export EXAMPLE_SHOWER_DIR=${CI_PROJECT_DIR}/build/build_examples/example_outputs/radio_em_shower_outputs - echo "Example dir is @EXAMPLE_SHOWER_DIR" - cd ${CI_PROJECT_DIR}/python diff --git a/examples/cascade_examples/em_shower.cpp b/examples/cascade_examples/em_shower.cpp index 9316e427d..138717edc 100644 --- a/examples/cascade_examples/em_shower.cpp +++ b/examples/cascade_examples/em_shower.cpp @@ -184,8 +184,6 @@ int main(int argc, char** argv) { output.startOfLibrary(); - output.startOfLibrary(); - auto const primaryProperties = std::make_tuple( beamCode, calculate_kinetic_energy(plab.getNorm(), get_mass(beamCode)), plab.normalized(), injectionPos, 0_ns); diff --git a/examples/cascade_examples/mc_conex.cpp b/examples/cascade_examples/mc_conex.cpp index 720cffffa..9fca5112f 100644 --- a/examples/cascade_examples/mc_conex.cpp +++ b/examples/cascade_examples/mc_conex.cpp @@ -273,6 +273,7 @@ int main(int argc, char** argv) { longprof, observationLevel, trackCheck); output.startOfLibrary(); + StackType stack; stack.clear(); -- GitLab