lstosa 0.10.17__tar.gz → 0.10.18__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lstosa-0.10.17 → lstosa-0.10.18}/PKG-INFO +4 -4
- {lstosa-0.10.17 → lstosa-0.10.18}/environment.yml +4 -3
- lstosa-0.10.18/extra/history_files/sequence_LST1_04183.history +2 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/pyproject.toml +3 -3
- {lstosa-0.10.17 → lstosa-0.10.18}/src/lstosa.egg-info/PKG-INFO +4 -4
- {lstosa-0.10.17 → lstosa-0.10.18}/src/lstosa.egg-info/requires.txt +2 -1
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/_version.py +2 -2
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/configs/sequencer.cfg +4 -2
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/scripts/calibration_pipeline.py +9 -8
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/scripts/tests/test_osa_scripts.py +12 -7
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/tests/test_jobs.py +1 -1
- lstosa-0.10.17/extra/history_files/sequence_LST1_04183.history +0 -2
- {lstosa-0.10.17 → lstosa-0.10.18}/.coveragerc +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/.gitignore +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/.mailmap +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/.pre-commit-config.yaml +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/.readthedocs.yml +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/LICENSE +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/MANIFEST.in +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/README.md +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/codemeta.json +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/crontab/crontab.txt +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/dev/mysql.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/Makefile +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/_static/logo_lstosa.png +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/authors.rst +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/components/index.rst +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/conf.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/configuration.rst +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/contribute.rst +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/documents/index.rst +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/howto/index.rst +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/index.rst +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/introduction/index.rst +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/introduction/reduction_steps_lstchain.png +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/jobs.rst +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/make.bat +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/nightsummary.rst +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/provenance.rst +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/references.rst +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/reports.rst +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/scripts/index.rst +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/troubleshooting/index.rst +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/utils.rst +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/veto.rst +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/workflow/LSTOSA_flow.png +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/docs/workflow/index.rst +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/extra/example_sequencer.txt +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/extra/history_files/sequence_LST1_04183_failed.history +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/extra/history_files/sequence_LST1_04183_oneline.history +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/extra/history_files/sequence_LST1_04185.0010.history +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/extra/sacct_output.csv +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/extra/squeue_output.csv +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/setup.cfg +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/lstosa.egg-info/SOURCES.txt +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/lstosa.egg-info/dependency_links.txt +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/lstosa.egg-info/entry_points.txt +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/lstosa.egg-info/top_level.txt +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/__init__.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/configs/__init__.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/configs/config.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/configs/datamodel.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/configs/options.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/conftest.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/high_level/__init__.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/high_level/selection_cuts.toml +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/high_level/significance.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/high_level/tests/test_significance.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/job.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/nightsummary/__init__.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/nightsummary/database.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/nightsummary/extract.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/nightsummary/nightsummary.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/nightsummary/set_source_coordinates.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/nightsummary/tests/test_database.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/nightsummary/tests/test_extract.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/nightsummary/tests/test_nightsummary.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/nightsummary/tests/test_source_coordinates.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/osadb.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/paths.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/provenance/__init__.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/provenance/capture.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/provenance/config/definition.yaml +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/provenance/config/environment.yaml +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/provenance/config/logger.yaml +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/provenance/io.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/provenance/utils.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/raw.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/report.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/scripts/__init__.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/scripts/autocloser.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/scripts/closer.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/scripts/copy_datacheck.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/scripts/datasequence.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/scripts/gain_selection.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/scripts/gainsel_webmaker.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/scripts/provprocess.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/scripts/reprocess_longterm.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/scripts/reprocessing.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/scripts/sequencer.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/scripts/sequencer_webmaker.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/scripts/show_run_summary.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/scripts/simulate_processing.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/scripts/tests/__init__.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/scripts/update_source_catalog.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/tests/__init__.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/tests/test_osa.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/tests/test_osadb.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/tests/test_paths.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/tests/test_raw.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/tests/test_report.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/tests/test_veto.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/utils/__init__.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/utils/cliopts.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/utils/iofile.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/utils/logging.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/utils/mail.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/utils/register.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/utils/tests/test_iofile.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/utils/tests/test_utils.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/utils/utils.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/version.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/veto.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/webserver/__init__.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/webserver/utils.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/workflow/__init__.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/workflow/dl3.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/workflow/stages.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/workflow/tests/test_dl3.py +0 -0
- {lstosa-0.10.17 → lstosa-0.10.18}/src/osa/workflow/tests/test_stages.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lstosa
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.18
|
|
4
4
|
Summary: Onsite analysis pipeline for the CTA LST-1
|
|
5
5
|
Author: María Láinez, José Enrique Ruiz, Lab Saha, Andrés Baquero, José Luis Contreras, Maximilian Linhoff
|
|
6
6
|
Author-email: Daniel Morcuende <dmorcuen@ucm.es>
|
|
@@ -13,14 +13,13 @@ Classifier: Intended Audience :: Science/Research
|
|
|
13
13
|
Classifier: Topic :: Scientific/Engineering :: Astronomy
|
|
14
14
|
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.10
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
-
Requires-Python: >=3.
|
|
18
|
+
Requires-Python: >=3.10
|
|
20
19
|
Description-Content-Type: text/markdown
|
|
21
20
|
License-File: LICENSE
|
|
22
21
|
Requires-Dist: astropy~=5.0
|
|
23
|
-
Requires-Dist: lstchain>=0.10.
|
|
22
|
+
Requires-Dist: lstchain>=0.10.13
|
|
24
23
|
Requires-Dist: matplotlib
|
|
25
24
|
Requires-Dist: numpy
|
|
26
25
|
Requires-Dist: pandas
|
|
@@ -34,6 +33,7 @@ Requires-Dist: toml
|
|
|
34
33
|
Requires-Dist: pymongo
|
|
35
34
|
Requires-Dist: gammapy~=1.1
|
|
36
35
|
Requires-Dist: tenacity
|
|
36
|
+
Requires-Dist: lstcam_calib
|
|
37
37
|
Provides-Extra: test
|
|
38
38
|
Requires-Dist: pytest; extra == "test"
|
|
39
39
|
Requires-Dist: pytest-cov; extra == "test"
|
|
@@ -21,12 +21,13 @@ dependencies:
|
|
|
21
21
|
- click
|
|
22
22
|
- pymongo
|
|
23
23
|
- scikit-learn=1.2
|
|
24
|
-
-
|
|
25
|
-
- ctapipe_io_lst=0.22
|
|
24
|
+
- ctapipe_io_lst=0.24
|
|
26
25
|
- ctaplot~=0.6.4
|
|
27
26
|
- pyirf~=0.10
|
|
28
|
-
- lstchain>=0.10.
|
|
27
|
+
- lstchain>=0.10.13
|
|
29
28
|
- tenacity
|
|
29
|
+
- pip:
|
|
30
|
+
- lstcam_calib
|
|
30
31
|
# dev dependencies
|
|
31
32
|
- pytest
|
|
32
33
|
- pytest-cov
|
|
@@ -26,15 +26,14 @@ classifiers = [
|
|
|
26
26
|
"Topic :: Scientific/Engineering :: Astronomy",
|
|
27
27
|
"Topic :: Scientific/Engineering :: Physics",
|
|
28
28
|
"Programming Language :: Python :: 3",
|
|
29
|
-
"Programming Language :: Python :: 3.9",
|
|
30
29
|
"Programming Language :: Python :: 3.10",
|
|
31
30
|
"Programming Language :: Python :: 3.11",
|
|
32
31
|
]
|
|
33
32
|
|
|
34
|
-
requires-python = ">=3.
|
|
33
|
+
requires-python = ">=3.10"
|
|
35
34
|
dependencies = [
|
|
36
35
|
"astropy~=5.0",
|
|
37
|
-
"lstchain>=0.10.
|
|
36
|
+
"lstchain>=0.10.13",
|
|
38
37
|
"matplotlib",
|
|
39
38
|
"numpy",
|
|
40
39
|
"pandas",
|
|
@@ -48,6 +47,7 @@ dependencies = [
|
|
|
48
47
|
"pymongo",
|
|
49
48
|
"gammapy~=1.1",
|
|
50
49
|
"tenacity",
|
|
50
|
+
"lstcam_calib",
|
|
51
51
|
]
|
|
52
52
|
|
|
53
53
|
dynamic = ["version"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lstosa
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.18
|
|
4
4
|
Summary: Onsite analysis pipeline for the CTA LST-1
|
|
5
5
|
Author: María Láinez, José Enrique Ruiz, Lab Saha, Andrés Baquero, José Luis Contreras, Maximilian Linhoff
|
|
6
6
|
Author-email: Daniel Morcuende <dmorcuen@ucm.es>
|
|
@@ -13,14 +13,13 @@ Classifier: Intended Audience :: Science/Research
|
|
|
13
13
|
Classifier: Topic :: Scientific/Engineering :: Astronomy
|
|
14
14
|
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.10
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
-
Requires-Python: >=3.
|
|
18
|
+
Requires-Python: >=3.10
|
|
20
19
|
Description-Content-Type: text/markdown
|
|
21
20
|
License-File: LICENSE
|
|
22
21
|
Requires-Dist: astropy~=5.0
|
|
23
|
-
Requires-Dist: lstchain>=0.10.
|
|
22
|
+
Requires-Dist: lstchain>=0.10.13
|
|
24
23
|
Requires-Dist: matplotlib
|
|
25
24
|
Requires-Dist: numpy
|
|
26
25
|
Requires-Dist: pandas
|
|
@@ -34,6 +33,7 @@ Requires-Dist: toml
|
|
|
34
33
|
Requires-Dist: pymongo
|
|
35
34
|
Requires-Dist: gammapy~=1.1
|
|
36
35
|
Requires-Dist: tenacity
|
|
36
|
+
Requires-Dist: lstcam_calib
|
|
37
37
|
Provides-Extra: test
|
|
38
38
|
Requires-Dist: pytest; extra == "test"
|
|
39
39
|
Requires-Dist: pytest-cov; extra == "test"
|
|
@@ -41,8 +41,10 @@ DL2_PROD_ID: model2
|
|
|
41
41
|
|
|
42
42
|
[lstchain]
|
|
43
43
|
# Calibration steps in calibration pipeline script
|
|
44
|
-
drs4_baseline: onsite_create_drs4_pedestal_file
|
|
45
|
-
charge_calibration: onsite_create_calibration_file
|
|
44
|
+
#drs4_baseline: onsite_create_drs4_pedestal_file
|
|
45
|
+
#charge_calibration: onsite_create_calibration_file
|
|
46
|
+
drs4_baseline: lstcam_calib_onsite_create_drs4_pedestal_file
|
|
47
|
+
charge_calibration: lstcam_calib_onsite_create_calibration_file
|
|
46
48
|
use_ff_heuristic_id: False
|
|
47
49
|
|
|
48
50
|
# Data processing steps in datasequence script
|
|
@@ -44,22 +44,23 @@ def is_calibration_produced(drs4_pedestal_run_id: int, pedcal_run_id: int) -> bo
|
|
|
44
44
|
def drs4_pedestal_command(drs4_pedestal_run_id: int) -> list:
|
|
45
45
|
"""Build the create_drs4_pedestal command."""
|
|
46
46
|
base_dir = Path(cfg.get("LST1", "BASE")).resolve()
|
|
47
|
+
command = cfg.get("lstchain", "drs4_baseline")
|
|
47
48
|
return [
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
command,
|
|
50
|
+
"-r", str(drs4_pedestal_run_id),
|
|
51
|
+
"-b", base_dir,
|
|
51
52
|
"--no-progress",
|
|
52
53
|
]
|
|
53
54
|
|
|
54
|
-
|
|
55
55
|
def calibration_file_command(drs4_pedestal_run_id: int, pedcal_run_id: int) -> list:
|
|
56
56
|
"""Build the create_calibration_file command."""
|
|
57
57
|
base_dir = Path(cfg.get("LST1", "BASE")).resolve()
|
|
58
|
+
command = cfg.get("lstchain", "charge_calibration")
|
|
58
59
|
cmd = [
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
command,
|
|
61
|
+
"-p", str(drs4_pedestal_run_id),
|
|
62
|
+
"-r", str(pedcal_run_id),
|
|
63
|
+
"-b", base_dir,
|
|
63
64
|
]
|
|
64
65
|
# In case of problems with trigger tagging:
|
|
65
66
|
if cfg.getboolean("lstchain", "use_ff_heuristic_id"):
|
|
@@ -301,9 +301,11 @@ def test_drs4_pedestal_cmd(base_test_dir):
|
|
|
301
301
|
|
|
302
302
|
cmd = drs4_pedestal_command(drs4_pedestal_run_id="01804")
|
|
303
303
|
expected_command = [
|
|
304
|
-
"
|
|
305
|
-
"
|
|
306
|
-
|
|
304
|
+
cfg.get("lstchain", "drs4_baseline"),
|
|
305
|
+
"-r",
|
|
306
|
+
"01804",
|
|
307
|
+
"-b",
|
|
308
|
+
base_test_dir,
|
|
307
309
|
"--no-progress",
|
|
308
310
|
]
|
|
309
311
|
assert cmd == expected_command
|
|
@@ -314,10 +316,13 @@ def test_calibration_file_cmd(base_test_dir):
|
|
|
314
316
|
|
|
315
317
|
cmd = calibration_file_command(drs4_pedestal_run_id="01804", pedcal_run_id="01809")
|
|
316
318
|
expected_command = [
|
|
317
|
-
"
|
|
318
|
-
"
|
|
319
|
-
"
|
|
320
|
-
|
|
319
|
+
cfg.get("lstchain", "charge_calibration"),
|
|
320
|
+
"-p",
|
|
321
|
+
"01804",
|
|
322
|
+
"-r",
|
|
323
|
+
"01809",
|
|
324
|
+
"-b",
|
|
325
|
+
base_test_dir,
|
|
321
326
|
]
|
|
322
327
|
assert cmd == expected_command
|
|
323
328
|
|
|
@@ -395,7 +395,7 @@ def test_set_cache_dirs():
|
|
|
395
395
|
def test_calibration_history_level():
|
|
396
396
|
from osa.job import check_history_level
|
|
397
397
|
|
|
398
|
-
levels = {"
|
|
398
|
+
levels = {cfg.get("lstchain", "drs4_baseline"): 1, cfg.get("lstchain", "charge_calibration"): 0}
|
|
399
399
|
level, exit_status = check_history_level(calibration_history_file, levels)
|
|
400
400
|
assert level == 0
|
|
401
401
|
assert exit_status == 0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|