From 549fecf8af75d86bd847a5e53f376bc32b7f64b4 Mon Sep 17 00:00:00 2001 From: Martina Favaretto Date: Mon, 3 Jul 2023 11:24:34 +0200 Subject: [PATCH] Update rename test051 to test059 --- opengate/tests/data | 2 +- opengate/tests/src/test059_TPSource_abs_dose.py | 4 ++-- opengate/tests/src/test059_TPSource_gantry_rot.py | 4 ++-- opengate/tests/src/test059_TPSource_optics.py | 8 ++++---- opengate/tests/src/test059_TPSource_optics_vbl.py | 8 ++++---- opengate/tests/src/test059_TPSource_range_ref.py | 4 ++-- opengate/tests/src/test059_TPSource_weights.py | 4 ++-- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/opengate/tests/data b/opengate/tests/data index 5fb53069a..15be92f9d 160000 --- a/opengate/tests/data +++ b/opengate/tests/data @@ -1 +1 @@ -Subproject commit 5fb53069abe9b28eb49e59b4c94d5fa1db800b73 +Subproject commit 15be92f9d4a2cc69e5f476bdfccf91191b410fc0 diff --git a/opengate/tests/src/test059_TPSource_abs_dose.py b/opengate/tests/src/test059_TPSource_abs_dose.py index 89a319e23..1909cc797 100644 --- a/opengate/tests/src/test059_TPSource_abs_dose.py +++ b/opengate/tests/src/test059_TPSource_abs_dose.py @@ -7,8 +7,8 @@ ## ------ INITIALIZE SIMULATION ENVIRONMENT ---------- ## paths = gate.get_default_test_paths(__file__, "gate_test044_pbs") -output_path = paths.output / "output_test051_rtp" -ref_path = paths.output_ref / "test051_ref" +output_path = paths.output / "output_test059_rtp" +ref_path = paths.output_ref / "test059_ref" # create the simulation diff --git a/opengate/tests/src/test059_TPSource_gantry_rot.py b/opengate/tests/src/test059_TPSource_gantry_rot.py index ec3d7f595..8aa7af6c5 100644 --- a/opengate/tests/src/test059_TPSource_gantry_rot.py +++ b/opengate/tests/src/test059_TPSource_gantry_rot.py @@ -7,8 +7,8 @@ ## ------ INITIALIZE SIMULATION ENVIRONMENT ---------- ## paths = gate.get_default_test_paths(__file__, "gate_test044_pbs") -output_path = paths.output / "output_test051_rtp" -ref_path = paths.output_ref / "test051_ref" +output_path = paths.output / "output_test059_rtp" +ref_path = paths.output_ref / "test059_ref" # create the simulation diff --git a/opengate/tests/src/test059_TPSource_optics.py b/opengate/tests/src/test059_TPSource_optics.py index be2152c28..90b93792c 100644 --- a/opengate/tests/src/test059_TPSource_optics.py +++ b/opengate/tests/src/test059_TPSource_optics.py @@ -7,8 +7,8 @@ ## ------ INITIALIZE SIMULATION ENVIRONMENT ---------- ## paths = gate.get_default_test_paths(__file__, "gate_test044_pbs") -output_path = paths.output / "output_test051_rtp" -ref_path = paths.output_ref / "test051_ref" +output_path = paths.output / "output_test059_rtp" +ref_path = paths.output_ref / "test059_ref" # create the simulation @@ -103,7 +103,7 @@ # nSim = 328935 # particles to simulate per beam nSim = 20000 spots, ntot, energies, G = gate.spots_info_from_txt( - ref_path / "TreatmentPlan4Gate-gate_test51_TP_1_old.txt", "ion 6 12" + ref_path / "TreatmentPlan4Gate-gate_test59_TP_1_old.txt", "ion 6 12" ) tps = gate.TreatmentPlanSource("RT_plan", sim) tps.set_beamline_model(IR2HBL) @@ -141,7 +141,7 @@ # read output and ref img_mhd_out = itk.imread(dose_path) img_mhd_ref = itk.imread( - ref_path / "idc-PHANTOM-air_box-gate_test51_TP_1-PLAN-Physical.mhd" + ref_path / "idc-PHANTOM-air_box-gate_test59_TP_1-PLAN-Physical.mhd" ) data = itk.GetArrayViewFromImage(img_mhd_out) data_ref = itk.GetArrayViewFromImage(img_mhd_ref) diff --git a/opengate/tests/src/test059_TPSource_optics_vbl.py b/opengate/tests/src/test059_TPSource_optics_vbl.py index 3a58ea53e..baddd0936 100644 --- a/opengate/tests/src/test059_TPSource_optics_vbl.py +++ b/opengate/tests/src/test059_TPSource_optics_vbl.py @@ -7,8 +7,8 @@ ## ------ INITIALIZE SIMULATION ENVIRONMENT ---------- ## paths = gate.get_default_test_paths(__file__, "gate_test044_pbs") -output_path = paths.output / "output_test051_rtp" -ref_path = paths.output_ref / "test051_ref" +output_path = paths.output / "output_test059_rtp" +ref_path = paths.output_ref / "test059_ref" # create the simulation @@ -103,7 +103,7 @@ # nSim = 328935 # particles to simulate per beam nSim = 20000 spots, ntot, energies, G = gate.spots_info_from_txt( - ref_path / "TreatmentPlan4Gate-gate_test51tps_v.txt", "ion 6 12" + ref_path / "TreatmentPlan4Gate-gate_test59tps_v.txt", "ion 6 12" ) tps = gate.TreatmentPlanSource("RT_plan", sim) tps.set_beamline_model(IR2VBL) @@ -139,7 +139,7 @@ # read output and ref img_mhd_out = itk.imread(dose_path) img_mhd_ref = itk.imread( - ref_path / "idc-PHANTOM-air_box_vbl-gate_test51tps_v-PLAN-Physical.mhd" + ref_path / "idc-PHANTOM-air_box_vbl-gate_test59tps_v-PLAN-Physical.mhd" ) data = itk.GetArrayViewFromImage(img_mhd_out) data_ref = itk.GetArrayViewFromImage(img_mhd_ref) diff --git a/opengate/tests/src/test059_TPSource_range_ref.py b/opengate/tests/src/test059_TPSource_range_ref.py index ef4d641eb..d8502d0d3 100644 --- a/opengate/tests/src/test059_TPSource_range_ref.py +++ b/opengate/tests/src/test059_TPSource_range_ref.py @@ -7,8 +7,8 @@ ## ------ INITIALIZE SIMULATION ENVIRONMENT ---------- ## paths = gate.get_default_test_paths(__file__, "gate_test044_pbs") -output_path = paths.output / "output_test051_rtp" -ref_path = paths.output_ref / "test051_ref" +output_path = paths.output / "output_test059_rtp" +ref_path = paths.output_ref / "test059_ref" # create the simulation diff --git a/opengate/tests/src/test059_TPSource_weights.py b/opengate/tests/src/test059_TPSource_weights.py index 6f655abcf..0999810bd 100644 --- a/opengate/tests/src/test059_TPSource_weights.py +++ b/opengate/tests/src/test059_TPSource_weights.py @@ -6,8 +6,8 @@ import os paths = gate.get_default_test_paths(__file__, "gate_test044_pbs") -output_path = paths.output / "output_test051_rtp" -ref_path = paths.output_ref / "test051_ref" +output_path = paths.output / "output_test059_rtp" +ref_path = paths.output_ref / "test059_ref" # create the simulation sim = gate.Simulation()