From 00abbdc613fc8ff69626ba22317e8aa3f018ee82 Mon Sep 17 00:00:00 2001 From: Michele Peresano Date: Wed, 16 Sep 2020 15:24:49 +0200 Subject: [PATCH 1/2] Remove indir path from notebook --- docs/contribute/comparison_with_EventDisplay.ipynb | 4 ++-- notebooks/comparison_with_EventDisplay.ipynb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/contribute/comparison_with_EventDisplay.ipynb b/docs/contribute/comparison_with_EventDisplay.ipynb index c4593782e..873c434e0 100644 --- a/docs/contribute/comparison_with_EventDisplay.ipynb +++ b/docs/contribute/comparison_with_EventDisplay.ipynb @@ -160,8 +160,8 @@ "outputs": [], "source": [ "# Path of the required input data in the user's local setup\n", - "# Please, empty these variables before pushing to the repo!\n", - "indir_EventDisplay = \"/Users/michele/Applications/ctasoft/tests/pyirf/EventDisplay/IRFs/data/WPPhys201890925LongObs\"\n", + "# Please, empty the indir_EventDisplay variable before pushing to the repo\n", + "indir_EventDisplay = \"\"\n", "infile_EventDisplay = \"DESY.d20180113.V3.ID0_180degNIM2LST4MST4SST4SCMST4.prod3b-paranal20degs05b-NN.S.3HB9-FD.180000s.root\"\n", "\n", "input_EventDisplay = uproot.open(f'{indir_EventDisplay}/{infile_EventDisplay}')" diff --git a/notebooks/comparison_with_EventDisplay.ipynb b/notebooks/comparison_with_EventDisplay.ipynb index c4593782e..873c434e0 100644 --- a/notebooks/comparison_with_EventDisplay.ipynb +++ b/notebooks/comparison_with_EventDisplay.ipynb @@ -160,8 +160,8 @@ "outputs": [], "source": [ "# Path of the required input data in the user's local setup\n", - "# Please, empty these variables before pushing to the repo!\n", - "indir_EventDisplay = \"/Users/michele/Applications/ctasoft/tests/pyirf/EventDisplay/IRFs/data/WPPhys201890925LongObs\"\n", + "# Please, empty the indir_EventDisplay variable before pushing to the repo\n", + "indir_EventDisplay = \"\"\n", "infile_EventDisplay = \"DESY.d20180113.V3.ID0_180degNIM2LST4MST4SST4SCMST4.prod3b-paranal20degs05b-NN.S.3HB9-FD.180000s.root\"\n", "\n", "input_EventDisplay = uproot.open(f'{indir_EventDisplay}/{infile_EventDisplay}')" From 0156f04a1b9d0d89c6ee739213aec0f2ad97540b Mon Sep 17 00:00:00 2001 From: Michele Peresano Date: Wed, 16 Sep 2020 15:32:18 +0200 Subject: [PATCH 2/2] Forgot to clean a cell --- docs/contribute/comparison_with_EventDisplay.ipynb | 6 ++++-- notebooks/comparison_with_EventDisplay.ipynb | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/contribute/comparison_with_EventDisplay.ipynb b/docs/contribute/comparison_with_EventDisplay.ipynb index 873c434e0..7ec9b696b 100644 --- a/docs/contribute/comparison_with_EventDisplay.ipynb +++ b/docs/contribute/comparison_with_EventDisplay.ipynb @@ -159,7 +159,7 @@ }, "outputs": [], "source": [ - "# Path of the required input data in the user's local setup\n", + "# Path of EventDisplay IRF data in the user's local setup\n", "# Please, empty the indir_EventDisplay variable before pushing to the repo\n", "indir_EventDisplay = \"\"\n", "infile_EventDisplay = \"DESY.d20180113.V3.ID0_180degNIM2LST4MST4SST4SCMST4.prod3b-paranal20degs05b-NN.S.3HB9-FD.180000s.root\"\n", @@ -230,7 +230,9 @@ } ], "source": [ - "indir_pyirf = \"/Users/michele/Applications/ctasoft/tests/pyirf/EventDisplay/from_pyirf/irf_EventDisplay_Time50h/\"\n", + "# Path of the pyirf output data in the user's local setup\n", + "# Please, empty the indir_pyirf variable before pushing to the repo\n", + "indir_pyirf = \"\"\n", "infile_pyirf = \"irf.fits.gz\"\n", "\n", "hdul_pyirf = fits.open(f'{indir_pyirf}/{infile_pyirf}') # will be closed at the end of the notebook\n", diff --git a/notebooks/comparison_with_EventDisplay.ipynb b/notebooks/comparison_with_EventDisplay.ipynb index 873c434e0..7ec9b696b 100644 --- a/notebooks/comparison_with_EventDisplay.ipynb +++ b/notebooks/comparison_with_EventDisplay.ipynb @@ -159,7 +159,7 @@ }, "outputs": [], "source": [ - "# Path of the required input data in the user's local setup\n", + "# Path of EventDisplay IRF data in the user's local setup\n", "# Please, empty the indir_EventDisplay variable before pushing to the repo\n", "indir_EventDisplay = \"\"\n", "infile_EventDisplay = \"DESY.d20180113.V3.ID0_180degNIM2LST4MST4SST4SCMST4.prod3b-paranal20degs05b-NN.S.3HB9-FD.180000s.root\"\n", @@ -230,7 +230,9 @@ } ], "source": [ - "indir_pyirf = \"/Users/michele/Applications/ctasoft/tests/pyirf/EventDisplay/from_pyirf/irf_EventDisplay_Time50h/\"\n", + "# Path of the pyirf output data in the user's local setup\n", + "# Please, empty the indir_pyirf variable before pushing to the repo\n", + "indir_pyirf = \"\"\n", "infile_pyirf = \"irf.fits.gz\"\n", "\n", "hdul_pyirf = fits.open(f'{indir_pyirf}/{infile_pyirf}') # will be closed at the end of the notebook\n",