CTADIRAC 2.2.80__tar.gz → 2.2.82__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.
- {ctadirac-2.2.80/src/CTADIRAC.egg-info → ctadirac-2.2.82}/PKG-INFO +1 -1
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_get_file.py +31 -28
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Interfaces/Utilities/CWL_utils.py +2 -35
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/_version.py +2 -2
- {ctadirac-2.2.80 → ctadirac-2.2.82/src/CTADIRAC.egg-info}/PKG-INFO +1 -1
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/unit/api/test_cwl_job.py +7 -1
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/unit/api/test_cwl_utils.py +15 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/CODEOWNERS +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/LICENCE +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/MANIFEST.in +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/README.md +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/aiv-config.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/ctadirac_requirements_traceability_matrix.csv +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/docker/dirac-client/Dockerfile +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/docker/dirac-client/EGI-trustanchors.repo +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/docker/dirac-client/Entrypoint.sh +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/docs/examples/dl0_to_dl2_example.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/docs/examples/mc_example.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/docs/examples/process_corsika_with_sim_telarray.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/docs/examples/testJob.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/docs/install_CTADIRAC.md +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/docs/install_client.md +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/docs/install_site_desy.cfg +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/environment.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/pylint.log +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/pyproject.toml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/release.notes +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/releases.cfg +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/report/inspection.tex +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/report/performance_verification.tex +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/report/preamble.tex +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/setup.cfg +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/sonar-project.properties +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ConfigurationSystem/Agent/StorageMonitorAgent.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ConfigurationSystem/Agent/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ConfigurationSystem/ConfigTemplate.cfg +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ConfigurationSystem/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/Utilities/SoftwareManager.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/Utilities/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/Utilities/return_values.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/Utilities/tool_box.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/Utilities/typer_callbacks.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/Workflow/Modules/ProdDataManager.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/Workflow/Modules/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/Workflow/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_dms_check_lfn.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_job_get_parameter.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_add_dataset.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_add_file.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_add_prov.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_check_replicas.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_create_dataset_description.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_create_evndisp_dataset_description.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_dump_dataset.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_failure_monitor.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_find_datasets.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_fix_nsb.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_get_file_by_query.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_get_file_size.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_get_merge_size.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_get_replicas.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_get_se_status.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_git_clone.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_init_prov.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_managedata.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_mark_corrupted_DL0.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_monitor.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_remove_corrupted_dl2.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_remove_corrupted_file.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_remove_dataset.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_remove_file.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_replicate_lfn.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_set_metadata.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_setup_software.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_show_dataset.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_split_dataset.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_split_dataset_bulk.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_unregister_file.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_unregister_replica.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_update_dataset.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_verifysteps.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_rms_request.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_add_files.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_clean.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_delete.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_get_files.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_get_tasks.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_move_dataset.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_move_dataset_status.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_move_files.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_remove_dataset.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_remove_files.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_remove_replicas.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_select.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_show_progress.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_treat_done_tasks.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_treat_failed_tasks.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_treat_incomplete_transfers.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_treat_problematic_files.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_user_managedata.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/DataManagementSystem/Client/ProvBase.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/DataManagementSystem/Client/ProvClient.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/DataManagementSystem/Client/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/DataManagementSystem/ConfigTemplate.cfg +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/DataManagementSystem/DB/ProvenanceDB.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/DataManagementSystem/DB/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/DataManagementSystem/ProvenanceManagerHandler.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/DataManagementSystem/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/DataManagementSystem/private/JSONUtils.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/DataManagementSystem/private/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Interfaces/API/CTAJob.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Interfaces/API/CWLJob.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Interfaces/API/CtapipeApplyModelsJob.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Interfaces/API/CtapipeMergeJob.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Interfaces/API/CtapipeProcessJob.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Interfaces/API/CtapipeTrainClassifierJob.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Interfaces/API/CtapipeTrainEnergyJob.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Interfaces/API/EvnDispJob.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Interfaces/API/MCPipeJob.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Interfaces/API/MCSimTelProcessJob.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Interfaces/API/SimPipeJob.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Interfaces/API/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Interfaces/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/CWLUtils.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/CWLWorkflow.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/CWLWorkflowStep.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/README.md +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/cta-user-managedata-processing.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/cta-user-managedata.cwl +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/cta-user-managedata.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/dirac_ctapipe-process_wrapper +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/dirac_ctapipe-process_wrapper.cwl +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/dirac_ctapipe-process_wrapper.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/dirac_prod_run.cwl +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/dirac_prod_run.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/setup-software-processing.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/setup-software.cwl +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/setup-software.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/simulation-run.cwl +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/simulation-run.png +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/simulation-run.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/Client/Utilities/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/Client/Utilities/production_utils.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/Client/WorkflowElement.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/Client/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/DB/ProductionDB.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/DB/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/Service/ProductionManagerHandler.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/processing_config_from_meta_query.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/paranal/alpha/az000/dl0_to_dl2.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/paranal/alpha/az000/merge.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/paranal/alpha/az180/dl0_to_dl2.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/paranal/alpha/az180/merge.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/paranal/alphanectarcam/az000/dl0_to_dl2.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/paranal/alphanectarcam/az000/merge.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/paranal/alphanectarcam/az180/dl0_to_dl2.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/paranal/alphanectarcam/az180/merge.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/processing/alpha/az000/apply_models.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/processing/alpha/az000/dl0_to_dl2.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/processing/alpha/az000/merge.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/processing/alpha/az000/train_classifier.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/processing/alpha/az000/train_energy.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/processing/alpha/az180/dl0_to_dl2.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/processing/alpha/az180/merge.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/processing/alphanectarcam/az000/apply_models.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/processing/alphanectarcam/az000/dl0_to_dl2.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/processing/alphanectarcam/az000/merge.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/processing/alphanectarcam/az000/train_classifier.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/processing/alphanectarcam/az000/train_energy.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/processing/alphanectarcam/az180/apply_models.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/processing/alphanectarcam/az180/dl0_to_dl2.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/processing/alphanectarcam/az180/merge.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/processing/alphanectarcam/az180/train_classifier.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5/processing/alphanectarcam/az180/train_energy.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5b/lapalma/alpha/az000/dl0_to_dl2.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5b/lapalma/alpha/az000/merge.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5b/lapalma/alpha/az180/dl0_to_dl2.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5b/lapalma/alpha/az180/merge.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5b/processing/lapalma/alpha/az000/apply_models.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5b/processing/lapalma/alpha/az000/dl0_to_dl2.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5b/processing/lapalma/alpha/az000/merge.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5b/processing/lapalma/alpha/az000/train_classifier.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5b/processing/lapalma/alpha/az000/train_energy.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5b/processing/lapalma/alpha/az180/apply_models.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5b/processing/lapalma/alpha/az180/dl0_to_dl2.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5b/processing/lapalma/alpha/az180/merge.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5b/processing/lapalma/alpha/az180/train_classifier.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod5b/processing/lapalma/alpha/az180/train_energy.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod6_divergent/processing/az000/apply_models_all_div.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod6_divergent/processing/az000/dl0_to_dl2_div0.0022.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod6_divergent/processing/az000/dl0_to_dl2_div0.0043.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod6_divergent/processing/az000/dl0_to_dl2_div0.008.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod6_divergent/processing/az000/dl0_to_dl2_div0.01135.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod6_divergent/processing/az000/dl0_to_dl2_div0.01453.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod6_divergent/processing/az000/merge_div0.0022.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod6_divergent/processing/az000/merge_div0.0043.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod6_divergent/processing/az000/merge_div0.008.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod6_divergent/processing/az000/merge_div0.01135.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod6_divergent/processing/az000/merge_div0.01453.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod6_divergent/processing/az000/train_classifier_all_div.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod6_divergent/processing/az000/train_energy_all_div.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/config/prod6_divergent/simulation/sim_test.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/scripts/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/scripts/cta_prod_create_workflow_config.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/scripts/cta_prod_create_workflow_evndisp_config.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/scripts/cta_prod_get_all.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/scripts/cta_prod_submit.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/scripts/cta_prod_submit_from_cwl.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/scripts/cta_prod_submit_from_cwl_workflow.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/test/test_launcher_from_cwl.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/TransformationSystem/Agent/TransformationFailoverAgent.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/TransformationSystem/Agent/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/TransformationSystem/ConfigTemplate.cfg +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/TransformationSystem/DB/TransformationDB.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/TransformationSystem/DB/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/TransformationSystem/Service/TornadoTransformationManagerHandler.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/TransformationSystem/Service/TransformationManagerHandler.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/TransformationSystem/Service/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/TransformationSystem/Utils/FailoverUtilities.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Workflow/Modules/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Workflow/Modules/cta_script.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Workflow/Modules/cta_update_ts.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Workflow/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/WorkloadManagementSystem/Client/CTAODownloadInputData.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/WorkloadManagementSystem/Client/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/WorkloadManagementSystem/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/_dev/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/version.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC.egg-info/SOURCES.txt +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC.egg-info/dependency_links.txt +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC.egg-info/entry_points.txt +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC.egg-info/requires.txt +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC.egg-info/top_level.txt +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/resources/cwl/datapipe_dl0_dl2/inputs_workflow_dl0_to_dl2.yaml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/resources/cwl/datapipe_dl0_dl2/process_dl0_dl1.cwl +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/resources/cwl/datapipe_dl0_dl2/process_dl1_dl2.cwl +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/resources/cwl/datapipe_dl0_dl2/workflow_dl0_to_dl2.cwl +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/resources/cwl/inputs_process_dl0_dl1.yaml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/resources/cwl/process_dl0_dl1.cwl +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/resources/cwl/process_multiple/inputs_dl0_dl1_multiple.yaml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/resources/cwl/process_multiple/merge.cwl +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/resources/cwl/process_multiple/process_dl0_dl1.cwl +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/resources/cwl/process_multiple/process_dl0_dl1_multiple.cwl +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/CWL/cta-prod-managedata-processing.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/CWL/cta-prod-managedata.cwl +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/CWL/cta-prod-managedata.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/CWL/dirac_ctapipe-process_wrapper +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/CWL/dirac_ctapipe-process_wrapper.cwl +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/CWL/dirac_ctapipe-process_wrapper.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/CWL/dirac_prod_run +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/CWL/dirac_prod_run.cwl +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/CWL/dirac_prod_run.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/CWL/setup-software-processing.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/CWL/setup-software.cwl +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/CWL/setup-software.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/config/full_production_config.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/config/processing_merging_config_from_dataset.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/config/production_config.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/datasets/Prod5b_LaPalma_AdvancedBaseline_NSB1x_electron_North_20deg_R1.json +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/datasets/Prod6_Paranal_gamma_South_20deg.json +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/runTestSuite.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/testDMSDefinitions.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/testFileCatalogDefinitions.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/testJobDefinitions.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/testJobUtils.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/testProdDefinitions.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/testSuiteDefinition.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/system/testTransDefinitions.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/unit/api/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/unit/api/test_job.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/unit/core/utilities/test_tool_box.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/unit/core/workflow/modules/test_prod_data_manager.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/unit/production/__init__.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/unit/production/test_prod_submit_utils.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/unit/production/test_workflow_element.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/unit/scripts/core/test_cta_get_job_parameter.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/unit/scripts/production_system/test_production_scripts.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/unit/scripts/test_typer_callbacks.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/unit/test_dummy.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/unit/transformation/agent/test_transformation_agents.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/unit/transformation/agent/test_transformation_failover_utils.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/tests/unit/workload_management/client/test_ctao_download_inputdata.py +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/utils/ci/env/coverage.yml +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/utils/cvmfs/build_corsika-77410-original.sh +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/utils/cvmfs/build_corsika-77410.sh +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/utils/deploy/README.md +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/utils/deploy/bin/install-ctadirac-server.sh +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/utils/deploy/caUtilities/openssl_config_ca.cnf +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/utils/deploy/caUtilities/openssl_config_host.cnf +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/utils/deploy/caUtilities/openssl_config_user.cnf +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/utils/deploy/caUtilities/utilities.sh +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/utils/deploy/files/EGI-trustanchors.repo +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/utils/deploy/files/dirac_example.cfg +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/utils/deploy/files/kill_runsv.sh +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/utils/deploy/files/runsvdir-start +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/utils/deploy/files/runsvdir-start.service +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/utils/deploy/files/site.conf +0 -0
- {ctadirac-2.2.80 → ctadirac-2.2.82}/utils/deploy/files/web_app_example.cfg +0 -0
|
@@ -60,34 +60,37 @@ def sigint_handler(signum, frame):
|
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
def getfile(lfn):
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
f"Wrong lfn: path must start with vo name (ctao or vo.cta.in2p3.fr):\n{lfn}"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
63
|
+
try:
|
|
64
|
+
voName = lfn.split("/")[1]
|
|
65
|
+
if voName not in ["ctao", "vo.cta.in2p3.fr"]:
|
|
66
|
+
message = f"Wrong lfn: path must start with vo name (ctao or vo.cta.in2p3.fr):\n{lfn}"
|
|
67
|
+
gLogger.error(message)
|
|
68
|
+
return
|
|
69
|
+
|
|
70
|
+
name = os.path.basename(lfn)
|
|
71
|
+
if config["skip_existing"] and os.path.isfile(name):
|
|
72
|
+
gLogger.notice("Skipping already downloaded file", lfn)
|
|
73
|
+
return
|
|
74
|
+
|
|
75
|
+
dm = DataManager(vo=voName)
|
|
76
|
+
gLogger.notice("Start downloading file", lfn)
|
|
77
|
+
res = dm.getFile(lfn, destinationDir=TEMPDIR)
|
|
78
|
+
|
|
79
|
+
if not res["OK"]:
|
|
80
|
+
message = res["Message"]
|
|
81
|
+
gLogger.error(f"Error downloading file {lfn}:\n{message}")
|
|
82
|
+
return
|
|
83
|
+
elif res["Value"]["Failed"]:
|
|
84
|
+
message = res["Value"]["Failed"][lfn]
|
|
85
|
+
gLogger.error(f"Error downloading file {lfn}:\n{message}")
|
|
86
|
+
return
|
|
87
|
+
|
|
88
|
+
gLogger.info(f"Successfully downloaded file {lfn}")
|
|
89
|
+
os.rename(os.path.join(".incomplete", name), name)
|
|
90
|
+
|
|
91
|
+
except Exception as e:
|
|
92
|
+
gLogger.error(f"Unexpected error while downloading {lfn}: {e}")
|
|
93
|
+
# Don't raise; just log so worker doesn't crash
|
|
91
94
|
|
|
92
95
|
|
|
93
96
|
@Script()
|
|
@@ -256,41 +256,6 @@ def evaluate_input_value_from(
|
|
|
256
256
|
return updated_inputs
|
|
257
257
|
|
|
258
258
|
|
|
259
|
-
def collect_outputs(cwl, inputs, requirements: list = []) -> list[str]:
|
|
260
|
-
"""Collect evaluated output filenames.
|
|
261
|
-
|
|
262
|
-
Parameters
|
|
263
|
-
----------
|
|
264
|
-
cwl: dict
|
|
265
|
-
The CWL definition
|
|
266
|
-
inputs: dict
|
|
267
|
-
user provided inputs.
|
|
268
|
-
|
|
269
|
-
Returns
|
|
270
|
-
-------
|
|
271
|
-
outputs: list[str]
|
|
272
|
-
The output filenames of this workflow given
|
|
273
|
-
the provided inputs and defaults.
|
|
274
|
-
"""
|
|
275
|
-
|
|
276
|
-
outputs = []
|
|
277
|
-
if cwl.outputs is None:
|
|
278
|
-
return outputs
|
|
279
|
-
for output in cwl.outputs:
|
|
280
|
-
if glob := output.outputBinding.glob:
|
|
281
|
-
result = do_eval(
|
|
282
|
-
glob,
|
|
283
|
-
inputs,
|
|
284
|
-
outdir=None,
|
|
285
|
-
requirements=requirements,
|
|
286
|
-
tmpdir=None,
|
|
287
|
-
resources={},
|
|
288
|
-
)
|
|
289
|
-
outputs.append(result)
|
|
290
|
-
|
|
291
|
-
return outputs
|
|
292
|
-
|
|
293
|
-
|
|
294
259
|
def extract_output_files(
|
|
295
260
|
cwl_obj: CommandLineTool,
|
|
296
261
|
inputs: dict,
|
|
@@ -434,6 +399,8 @@ def extract_and_translate_input_files(cwl_inputs) -> dict[str, Any]:
|
|
|
434
399
|
|
|
435
400
|
elif isinstance(input_value, File):
|
|
436
401
|
input_value.path = update_inputs(input_value)
|
|
402
|
+
elif isinstance(input_value, str) and input_value.startswith(LFN_PREFIX):
|
|
403
|
+
cwl_inputs[key] = Path(input_value.removeprefix(LFN_PREFIX)).name
|
|
437
404
|
|
|
438
405
|
return {
|
|
439
406
|
"InputDesc": cwl_inputs,
|
|
@@ -2,7 +2,7 @@ import xml.etree.ElementTree as ET
|
|
|
2
2
|
from pathlib import Path
|
|
3
3
|
|
|
4
4
|
import pytest
|
|
5
|
-
|
|
5
|
+
from cwl_utils.parser import save
|
|
6
6
|
from CTADIRAC.Interfaces.API.CWLJob import CWLJob
|
|
7
7
|
from CTADIRAC.Interfaces.Utilities.CWL_utils import (
|
|
8
8
|
LFN_DIRAC_PREFIX,
|
|
@@ -225,6 +225,12 @@ def test_datapipe_cwl_job(mock_submit_job):
|
|
|
225
225
|
== "LFN:/ctao/simpipe/prod6/gamma-diffuse/010xxx/gamma_cone10_run010000.simtel.zst"
|
|
226
226
|
)
|
|
227
227
|
|
|
228
|
+
assert save(job.transformed_inputs) == {
|
|
229
|
+
"dl0": {"class": "File", "path": "gamma_cone10_run010000.simtel.zst"},
|
|
230
|
+
"processing_config": {"class": "File", "path": "process_config.yaml"},
|
|
231
|
+
"dl1_filename": "test.dl1.h5",
|
|
232
|
+
}
|
|
233
|
+
|
|
228
234
|
result = job.submit()
|
|
229
235
|
mock_submit_job.assert_called_once_with(job)
|
|
230
236
|
result_xml = ET.fromstring(result)
|
|
@@ -158,6 +158,21 @@ def test_translate_sandboxes_and_lfns(file_input, expected_result, expected_lfn)
|
|
|
158
158
|
"InputData": [],
|
|
159
159
|
},
|
|
160
160
|
),
|
|
161
|
+
# Test that a input string containing "lfn" is correctly treated.
|
|
162
|
+
(
|
|
163
|
+
{
|
|
164
|
+
"input1": File(path="some/path/test_local_file1.txt"),
|
|
165
|
+
"input2": f"{LFN_PREFIX}/ctao/path/test.h5",
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"InputDesc": {
|
|
169
|
+
"input1": File(path="test_local_file1.txt"),
|
|
170
|
+
"input2": "test.h5",
|
|
171
|
+
},
|
|
172
|
+
"InputSandbox": ["some/path/test_local_file1.txt"],
|
|
173
|
+
"InputData": [],
|
|
174
|
+
},
|
|
175
|
+
),
|
|
161
176
|
],
|
|
162
177
|
)
|
|
163
178
|
def test_extract_and_translate_input_files(input_data, expected_result):
|
|
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
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ConfigurationSystem/Agent/StorageMonitorAgent.py
RENAMED
|
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
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_create_dataset_description.py
RENAMED
|
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
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_mark_corrupted_DL0.py
RENAMED
|
File without changes
|
|
File without changes
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_remove_corrupted_dl2.py
RENAMED
|
File without changes
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_remove_corrupted_file.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_split_dataset_bulk.py
RENAMED
|
File without changes
|
|
File without changes
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_prod_unregister_replica.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_add_files.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_get_files.py
RENAMED
|
File without changes
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_get_tasks.py
RENAMED
|
File without changes
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_move_dataset.py
RENAMED
|
File without changes
|
|
File without changes
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_move_files.py
RENAMED
|
File without changes
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_remove_dataset.py
RENAMED
|
File without changes
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_remove_files.py
RENAMED
|
File without changes
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_remove_replicas.py
RENAMED
|
File without changes
|
|
File without changes
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_show_progress.py
RENAMED
|
File without changes
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Core/scripts/cta_transformation_treat_done_tasks.py
RENAMED
|
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
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/DataManagementSystem/ProvenanceManagerHandler.py
RENAMED
|
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
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/Interfaces/API/CtapipeTrainClassifierJob.py
RENAMED
|
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
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/cta-user-managedata.cwl
RENAMED
|
File without changes
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/cta-user-managedata.yml
RENAMED
|
File without changes
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/dirac_ctapipe-process_wrapper
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/CWL/setup-software-processing.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ctadirac-2.2.80 → ctadirac-2.2.82}/src/CTADIRAC/ProductionSystem/Client/Utilities/__init__.py
RENAMED
|
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
|