lstosa 0.11.0__tar.gz → 0.11.1__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.
Files changed (132) hide show
  1. {lstosa-0.11.0 → lstosa-0.11.1}/PKG-INFO +1 -1
  2. {lstosa-0.11.0 → lstosa-0.11.1}/src/lstosa.egg-info/PKG-INFO +1 -1
  3. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/_version.py +2 -2
  4. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/sequencer_catB_tailcuts.py +14 -2
  5. {lstosa-0.11.0 → lstosa-0.11.1}/.coveragerc +0 -0
  6. {lstosa-0.11.0 → lstosa-0.11.1}/.gitignore +0 -0
  7. {lstosa-0.11.0 → lstosa-0.11.1}/.mailmap +0 -0
  8. {lstosa-0.11.0 → lstosa-0.11.1}/.pre-commit-config.yaml +0 -0
  9. {lstosa-0.11.0 → lstosa-0.11.1}/.readthedocs.yml +0 -0
  10. {lstosa-0.11.0 → lstosa-0.11.1}/LICENSE +0 -0
  11. {lstosa-0.11.0 → lstosa-0.11.1}/MANIFEST.in +0 -0
  12. {lstosa-0.11.0 → lstosa-0.11.1}/README.md +0 -0
  13. {lstosa-0.11.0 → lstosa-0.11.1}/codemeta.json +0 -0
  14. {lstosa-0.11.0 → lstosa-0.11.1}/crontab/crontab.txt +0 -0
  15. {lstosa-0.11.0 → lstosa-0.11.1}/dev/mysql.py +0 -0
  16. {lstosa-0.11.0 → lstosa-0.11.1}/docs/Makefile +0 -0
  17. {lstosa-0.11.0 → lstosa-0.11.1}/docs/_static/logo_lstosa.png +0 -0
  18. {lstosa-0.11.0 → lstosa-0.11.1}/docs/authors.rst +0 -0
  19. {lstosa-0.11.0 → lstosa-0.11.1}/docs/components/index.rst +0 -0
  20. {lstosa-0.11.0 → lstosa-0.11.1}/docs/conf.py +0 -0
  21. {lstosa-0.11.0 → lstosa-0.11.1}/docs/configuration.rst +0 -0
  22. {lstosa-0.11.0 → lstosa-0.11.1}/docs/contribute.rst +0 -0
  23. {lstosa-0.11.0 → lstosa-0.11.1}/docs/documents/index.rst +0 -0
  24. {lstosa-0.11.0 → lstosa-0.11.1}/docs/howto/index.rst +0 -0
  25. {lstosa-0.11.0 → lstosa-0.11.1}/docs/index.rst +0 -0
  26. {lstosa-0.11.0 → lstosa-0.11.1}/docs/introduction/index.rst +0 -0
  27. {lstosa-0.11.0 → lstosa-0.11.1}/docs/introduction/reduction_steps_lstchain.png +0 -0
  28. {lstosa-0.11.0 → lstosa-0.11.1}/docs/jobs.rst +0 -0
  29. {lstosa-0.11.0 → lstosa-0.11.1}/docs/make.bat +0 -0
  30. {lstosa-0.11.0 → lstosa-0.11.1}/docs/nightsummary.rst +0 -0
  31. {lstosa-0.11.0 → lstosa-0.11.1}/docs/provenance.rst +0 -0
  32. {lstosa-0.11.0 → lstosa-0.11.1}/docs/references.rst +0 -0
  33. {lstosa-0.11.0 → lstosa-0.11.1}/docs/reports.rst +0 -0
  34. {lstosa-0.11.0 → lstosa-0.11.1}/docs/scripts/index.rst +0 -0
  35. {lstosa-0.11.0 → lstosa-0.11.1}/docs/troubleshooting/index.rst +0 -0
  36. {lstosa-0.11.0 → lstosa-0.11.1}/docs/utils.rst +0 -0
  37. {lstosa-0.11.0 → lstosa-0.11.1}/docs/veto.rst +0 -0
  38. {lstosa-0.11.0 → lstosa-0.11.1}/docs/workflow/LSTOSA_flow.png +0 -0
  39. {lstosa-0.11.0 → lstosa-0.11.1}/docs/workflow/index.rst +0 -0
  40. {lstosa-0.11.0 → lstosa-0.11.1}/environment-lstcam.yml +0 -0
  41. {lstosa-0.11.0 → lstosa-0.11.1}/environment.yml +0 -0
  42. {lstosa-0.11.0 → lstosa-0.11.1}/extra/example_sequencer.txt +0 -0
  43. {lstosa-0.11.0 → lstosa-0.11.1}/extra/history_files/sequence_LST1_04183.history +0 -0
  44. {lstosa-0.11.0 → lstosa-0.11.1}/extra/history_files/sequence_LST1_04183_failed.history +0 -0
  45. {lstosa-0.11.0 → lstosa-0.11.1}/extra/history_files/sequence_LST1_04183_oneline.history +0 -0
  46. {lstosa-0.11.0 → lstosa-0.11.1}/extra/history_files/sequence_LST1_04185.0001.history +0 -0
  47. {lstosa-0.11.0 → lstosa-0.11.1}/extra/history_files/sequence_LST1_04185.0010.history +0 -0
  48. {lstosa-0.11.0 → lstosa-0.11.1}/extra/sacct_output.csv +0 -0
  49. {lstosa-0.11.0 → lstosa-0.11.1}/extra/squeue_output.csv +0 -0
  50. {lstosa-0.11.0 → lstosa-0.11.1}/pyproject.toml +0 -0
  51. {lstosa-0.11.0 → lstosa-0.11.1}/setup.cfg +0 -0
  52. {lstosa-0.11.0 → lstosa-0.11.1}/src/lstosa.egg-info/SOURCES.txt +0 -0
  53. {lstosa-0.11.0 → lstosa-0.11.1}/src/lstosa.egg-info/dependency_links.txt +0 -0
  54. {lstosa-0.11.0 → lstosa-0.11.1}/src/lstosa.egg-info/entry_points.txt +0 -0
  55. {lstosa-0.11.0 → lstosa-0.11.1}/src/lstosa.egg-info/requires.txt +0 -0
  56. {lstosa-0.11.0 → lstosa-0.11.1}/src/lstosa.egg-info/top_level.txt +0 -0
  57. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/__init__.py +0 -0
  58. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/configs/__init__.py +0 -0
  59. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/configs/config.py +0 -0
  60. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/configs/datamodel.py +0 -0
  61. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/configs/options.py +0 -0
  62. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/configs/sequencer.cfg +0 -0
  63. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/conftest.py +0 -0
  64. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/high_level/__init__.py +0 -0
  65. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/high_level/selection_cuts.toml +0 -0
  66. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/high_level/significance.py +0 -0
  67. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/high_level/tests/test_significance.py +0 -0
  68. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/job.py +0 -0
  69. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/nightsummary/__init__.py +0 -0
  70. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/nightsummary/database.py +0 -0
  71. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/nightsummary/extract.py +0 -0
  72. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/nightsummary/nightsummary.py +0 -0
  73. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/nightsummary/set_source_coordinates.py +0 -0
  74. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/nightsummary/tests/test_database.py +0 -0
  75. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/nightsummary/tests/test_extract.py +0 -0
  76. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/nightsummary/tests/test_nightsummary.py +0 -0
  77. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/nightsummary/tests/test_source_coordinates.py +0 -0
  78. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/osadb.py +0 -0
  79. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/paths.py +0 -0
  80. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/provenance/__init__.py +0 -0
  81. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/provenance/capture.py +0 -0
  82. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/provenance/config/definition.yaml +0 -0
  83. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/provenance/config/environment.yaml +0 -0
  84. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/provenance/config/logger.yaml +0 -0
  85. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/provenance/io.py +0 -0
  86. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/provenance/utils.py +0 -0
  87. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/raw.py +0 -0
  88. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/report.py +0 -0
  89. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/__init__.py +0 -0
  90. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/autocloser.py +0 -0
  91. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/calibration_pipeline.py +0 -0
  92. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/closer.py +0 -0
  93. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/copy_datacheck.py +0 -0
  94. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/datasequence.py +0 -0
  95. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/gain_selection.py +0 -0
  96. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/gainsel_webmaker.py +0 -0
  97. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/provprocess.py +0 -0
  98. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/reprocess_longterm.py +0 -0
  99. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/reprocessing.py +0 -0
  100. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/sequencer.py +0 -0
  101. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/sequencer_webmaker.py +0 -0
  102. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/show_run_summary.py +0 -0
  103. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/simulate_processing.py +0 -0
  104. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/tests/__init__.py +0 -0
  105. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/tests/test_osa_scripts.py +0 -0
  106. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/scripts/update_source_catalog.py +0 -0
  107. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/tests/__init__.py +0 -0
  108. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/tests/test_jobs.py +0 -0
  109. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/tests/test_osa.py +0 -0
  110. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/tests/test_osadb.py +0 -0
  111. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/tests/test_paths.py +0 -0
  112. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/tests/test_raw.py +0 -0
  113. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/tests/test_report.py +0 -0
  114. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/tests/test_veto.py +0 -0
  115. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/utils/__init__.py +0 -0
  116. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/utils/cliopts.py +0 -0
  117. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/utils/iofile.py +0 -0
  118. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/utils/logging.py +0 -0
  119. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/utils/mail.py +0 -0
  120. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/utils/register.py +0 -0
  121. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/utils/tests/test_iofile.py +0 -0
  122. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/utils/tests/test_utils.py +0 -0
  123. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/utils/utils.py +0 -0
  124. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/version.py +0 -0
  125. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/veto.py +0 -0
  126. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/webserver/__init__.py +0 -0
  127. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/webserver/utils.py +0 -0
  128. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/workflow/__init__.py +0 -0
  129. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/workflow/dl3.py +0 -0
  130. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/workflow/stages.py +0 -0
  131. {lstosa-0.11.0 → lstosa-0.11.1}/src/osa/workflow/tests/test_dl3.py +0 -0
  132. {lstosa-0.11.0 → lstosa-0.11.1}/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.11.0
3
+ Version: 0.11.1
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>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lstosa
3
- Version: 0.11.0
3
+ Version: 0.11.1
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>
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '0.11.0'
21
- __version_tuple__ = version_tuple = (0, 11, 0)
20
+ __version__ = version = '0.11.1'
21
+ __version_tuple__ = version_tuple = (0, 11, 1)
@@ -50,6 +50,12 @@ parser.add_argument(
50
50
  default=False,
51
51
  help="Simulate launching of the sequencer_catB_tailcuts script.",
52
52
  )
53
+ parser.add_argument(
54
+ "--overwrite-tailcuts",
55
+ action="store_true",
56
+ default=False,
57
+ help="Overwrite the tailcuts config file if it already exists.",
58
+ )
53
59
  parser.add_argument(
54
60
  "tel_id",
55
61
  choices=["ST", "LST1", "LST2", "all"],
@@ -210,6 +216,7 @@ def main():
210
216
  opts = parser.parse_args()
211
217
  options.tel_id = opts.tel_id
212
218
  options.simulate = opts.simulate
219
+ options.overwrite_tailcuts = opts.overwrite_tailcuts
213
220
  options.date = opts.date
214
221
  options.date = set_default_date_if_needed()
215
222
  options.configfile = opts.config.resolve()
@@ -231,8 +238,13 @@ def main():
231
238
  # launch catB calibration and tailcut finder in parallel
232
239
  if cfg.getboolean("lstchain", "apply_catB_calibration") and not catB_closed_file_exists(run_id):
233
240
  launch_catB_calibration(run_id)
234
- if not cfg.getboolean("lstchain", "apply_standard_dl1b_config") and not tailcuts_config_file_exists(run_id):
235
- launch_tailcuts_finder(run_id)
241
+ if not cfg.getboolean("lstchain", "apply_standard_dl1b_config"):
242
+ if tailcuts_config_file_exists(run_id) and not options.overwrite_tailcuts:
243
+ log.debug(
244
+ f"Tailcuts config file already exists for run {run_id:05d}. Use --overwrite-tailcuts to overwrite it."
245
+ )
246
+ else:
247
+ launch_tailcuts_finder(run_id)
236
248
 
237
249
 
238
250
  if __name__ == "__main__":
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