dkist-processing-common 10.6.1rc5__tar.gz → 10.6.2__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.
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/CHANGELOG.rst +29 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/PKG-INFO +6 -1
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/README.rst +5 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/bitbucket-pipelines.yml +7 -1
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/manual.py +1 -1
- dkist_processing_common-10.6.2/dkist_processing_common/tests/test_manual_processing.py +34 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common.egg-info/PKG-INFO +6 -1
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common.egg-info/SOURCES.txt +1 -2
- dkist_processing_common-10.6.1rc5/changelog/236.misc.1.rst +0 -2
- dkist_processing_common-10.6.1rc5/changelog/236.misc.rst +0 -3
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/.gitignore +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/.pre-commit-config.yaml +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/.readthedocs.yml +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/.snyk +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/changelog/.gitempty +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/__init__.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/_util/__init__.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/_util/constants.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/_util/graphql.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/_util/scratch.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/_util/tags.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/codecs/__init__.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/codecs/asdf.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/codecs/bytes.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/codecs/fits.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/codecs/iobase.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/codecs/json.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/codecs/path.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/codecs/quality.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/codecs/str.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/config.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/fonts/Lato-Regular.ttf +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/fonts/__init__.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/models/__init__.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/models/constants.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/models/fits_access.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/models/flower_pot.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/models/graphql.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/models/message.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/models/message_queue_binding.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/models/metric_code.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/models/parameters.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/models/quality.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/models/tags.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/models/task_name.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/models/wavelength.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/parsers/__init__.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/parsers/cs_step.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/parsers/dsps_repeat.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/parsers/experiment_id_bud.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/parsers/id_bud.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/parsers/l0_fits_access.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/parsers/l1_fits_access.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/parsers/near_bud.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/parsers/proposal_id_bud.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/parsers/quality.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/parsers/retarder.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/parsers/single_value_single_key_flower.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/parsers/task.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/parsers/time.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/parsers/unique_bud.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/parsers/wavelength.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/__init__.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/assemble_movie.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/base.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/l1_output_data.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/mixin/__init__.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/mixin/globus.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/mixin/input_dataset.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/mixin/interservice_bus.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/mixin/metadata_store.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/mixin/object_store.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/mixin/quality/__init__.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/mixin/quality/_base.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/mixin/quality/_metrics.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/output_data_base.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/parse_l0_input_data.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/quality_metrics.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/teardown.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/transfer_input_data.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/trial_catalog.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/trial_output_data.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tasks/write_l1.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/__init__.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/conftest.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_assemble_movie.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_assemble_quality.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_base.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_codecs.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_constants.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_cs_step.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_fits_access.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_flower_pot.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_input_dataset.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_interservice_bus.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_interservice_bus_mixin.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_output_data_base.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_parameters.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_parse_l0_input_data.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_publish_catalog_messages.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_quality.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_quality_mixin.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_scratch.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_stems.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_submit_dataset_metadata.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_tags.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_task_name.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_task_parsing.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_teardown.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_transfer_input_data.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_transfer_l1_output_data.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_trial_catalog.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_trial_output_data.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_workflow_task_base.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common/tests/test_write_l1.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common.egg-info/dependency_links.txt +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common.egg-info/requires.txt +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/dkist_processing_common.egg-info/top_level.txt +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/docs/Makefile +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/docs/changelog.rst +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/docs/conf.py +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/docs/index.rst +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/docs/landing_page.rst +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/docs/make.bat +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/docs/requirements.txt +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/licenses/LICENSE.rst +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/pyproject.toml +0 -0
- {dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/setup.cfg +0 -0
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
v10.6.2 (2025-03-19)
|
|
2
|
+
====================
|
|
3
|
+
|
|
4
|
+
Bugfixes
|
|
5
|
+
--------
|
|
6
|
+
|
|
7
|
+
- Fix a bug in manual processing where a metadata store dataclass has been previously converted to
|
|
8
|
+
a Pydantic BaseModel. Add a test that will catch future similar bugs. (`#239 <https://bitbucket.org/dkistdc/dkist-processing-common/pull-requests/239>`__)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Misc
|
|
12
|
+
----
|
|
13
|
+
|
|
14
|
+
- Add coverage badge to README.rst. (`#238 <https://bitbucket.org/dkistdc/dkist-processing-common/pull-requests/238>`__)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
v10.6.1 (2025-03-14)
|
|
18
|
+
====================
|
|
19
|
+
|
|
20
|
+
Misc
|
|
21
|
+
----
|
|
22
|
+
|
|
23
|
+
- Convert dataclasses in the graphql model to Pydantic BaseModels for additional validation. In the
|
|
24
|
+
RecipeRunResponse class, configuration is converted from a JSON dictionary to its own Pydantic BaseModel.
|
|
25
|
+
In the InputDatasetPartResponse class, the inputDatasetPartDocument is now returned as a list of dictionaries. (`#236 <https://bitbucket.org/dkistdc/dkist-processing-common/pull-requests/236>`__)
|
|
26
|
+
- Change returns from the metadata store queries into Pydantic BaseModel instances. Remove unnecessary parsing
|
|
27
|
+
and error checking in the metadata store mixin. (`#236 <https://bitbucket.org/dkistdc/dkist-processing-common/pull-requests/236>`__)
|
|
28
|
+
|
|
29
|
+
|
|
1
30
|
v10.6.0 (2025-03-03)
|
|
2
31
|
====================
|
|
3
32
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: dkist-processing-common
|
|
3
|
-
Version: 10.6.
|
|
3
|
+
Version: 10.6.2
|
|
4
4
|
Summary: Common task classes used by the DKIST science data processing pipelines
|
|
5
5
|
Author-email: NSO / AURA <dkistdc@nso.edu>
|
|
6
6
|
License: BSD-3-Clause
|
|
@@ -65,6 +65,8 @@ Requires-Dist: dkist-quality<2.0,>=1.2.1; extra == "quality"
|
|
|
65
65
|
dkist-processing-common
|
|
66
66
|
=======================
|
|
67
67
|
|
|
68
|
+
|codecov|
|
|
69
|
+
|
|
68
70
|
This repository works in concert with `dkist-processing-core <https://pypi.org/project/dkist-processing-core/>`_ and `dkist-processing-*instrument*` to
|
|
69
71
|
form the DKIST calibration processing stack.
|
|
70
72
|
|
|
@@ -173,3 +175,6 @@ then the Bitbucket pipeline will fail. To be able to use the same tag you must d
|
|
|
173
175
|
# Re-tag with the same version
|
|
174
176
|
git tag vWHATEVER.THE.VERSION
|
|
175
177
|
git push --tags origin main
|
|
178
|
+
|
|
179
|
+
.. |codecov| image:: https://codecov.io/bb/dkistdc/dkist-processing-common/graph/badge.svg?token=3QSLGSEF3O
|
|
180
|
+
:target: https://codecov.io/bb/dkistdc/dkist-processing-common
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
dkist-processing-common
|
|
2
2
|
=======================
|
|
3
3
|
|
|
4
|
+
|codecov|
|
|
5
|
+
|
|
4
6
|
This repository works in concert with `dkist-processing-core <https://pypi.org/project/dkist-processing-core/>`_ and `dkist-processing-*instrument*` to
|
|
5
7
|
form the DKIST calibration processing stack.
|
|
6
8
|
|
|
@@ -109,3 +111,6 @@ then the Bitbucket pipeline will fail. To be able to use the same tag you must d
|
|
|
109
111
|
# Re-tag with the same version
|
|
110
112
|
git tag vWHATEVER.THE.VERSION
|
|
111
113
|
git push --tags origin main
|
|
114
|
+
|
|
115
|
+
.. |codecov| image:: https://codecov.io/bb/dkistdc/dkist-processing-common/graph/badge.svg?token=3QSLGSEF3O
|
|
116
|
+
:target: https://codecov.io/bb/dkistdc/dkist-processing-common
|
{dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/bitbucket-pipelines.yml
RENAMED
|
@@ -18,24 +18,28 @@ definitions:
|
|
|
18
18
|
- chmod 755 ci_scripts/latest/execute_script.sh
|
|
19
19
|
artifacts:
|
|
20
20
|
- ci_scripts/latest/execute_script.sh
|
|
21
|
+
|
|
21
22
|
- step: &lint
|
|
22
23
|
caches:
|
|
23
24
|
- pip
|
|
24
25
|
name: Lint
|
|
25
26
|
script:
|
|
26
27
|
- ./ci_scripts/latest/execute_script.sh lint_python.sh
|
|
28
|
+
|
|
27
29
|
- step: &changelog
|
|
28
30
|
caches:
|
|
29
31
|
- pip
|
|
30
32
|
name: Changelog
|
|
31
33
|
script:
|
|
32
34
|
- ./ci_scripts/latest/execute_script.sh check_changelog.sh
|
|
35
|
+
|
|
33
36
|
- step: &scan
|
|
34
37
|
caches:
|
|
35
38
|
- pip
|
|
36
39
|
name: Scan
|
|
37
40
|
script:
|
|
38
41
|
- ./ci_scripts/latest/execute_script.sh scan_python.sh
|
|
42
|
+
|
|
39
43
|
- step: &test
|
|
40
44
|
caches:
|
|
41
45
|
- pip
|
|
@@ -43,7 +47,9 @@ definitions:
|
|
|
43
47
|
script:
|
|
44
48
|
- pip install -U pip
|
|
45
49
|
- pip install .[test]
|
|
46
|
-
- pytest -v -n auto -m "not development" --cov dkist_processing_common
|
|
50
|
+
- pytest -v -n auto -m "not development" --cov dkist_processing_common --cov-report=xml --cov-report=term-missing
|
|
51
|
+
- ./ci_scripts/latest/execute_script.sh upload_coverage.sh
|
|
52
|
+
|
|
47
53
|
services:
|
|
48
54
|
- redis
|
|
49
55
|
- broker
|
|
@@ -182,7 +182,7 @@ def writing_metadata_store_record_provenance(self, is_task_manual: bool, library
|
|
|
182
182
|
workflowVersion=self.workflow_version,
|
|
183
183
|
)
|
|
184
184
|
self.write(
|
|
185
|
-
data=
|
|
185
|
+
data=params.model_dump(),
|
|
186
186
|
encoder=json_encoder,
|
|
187
187
|
tags=["PROVENANCE_RECORD"],
|
|
188
188
|
relative_path=f"{self.task_name}_provenance.json",
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import pytest
|
|
2
|
+
|
|
3
|
+
from dkist_processing_common.manual import ManualProcessing
|
|
4
|
+
from dkist_processing_common.tasks import WorkflowTaskBase
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class ProvenanceTask(WorkflowTaskBase):
|
|
8
|
+
record_provenance = True
|
|
9
|
+
|
|
10
|
+
def run(self):
|
|
11
|
+
...
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@pytest.fixture(scope="function")
|
|
15
|
+
def manual_processing_run(tmp_path, recipe_run_id):
|
|
16
|
+
with ManualProcessing(
|
|
17
|
+
recipe_run_id=recipe_run_id,
|
|
18
|
+
workflow_path=tmp_path,
|
|
19
|
+
workflow_name="manual",
|
|
20
|
+
workflow_version="manual",
|
|
21
|
+
) as manual_processing_run:
|
|
22
|
+
yield manual_processing_run
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def test_manual_record_provenance(tmp_path, recipe_run_id, manual_processing_run):
|
|
26
|
+
"""
|
|
27
|
+
Given: A WorkflowTaskBase subclass with provenance recording turned on
|
|
28
|
+
When: Running the task with the ManualProcessing wrapper
|
|
29
|
+
Then: The provenance record exists on disk
|
|
30
|
+
"""
|
|
31
|
+
manual_processing_run.run_task(task=ProvenanceTask)
|
|
32
|
+
directory = tmp_path / str(recipe_run_id)
|
|
33
|
+
provenance_file = directory / "ProvenanceTask_provenance.json"
|
|
34
|
+
assert provenance_file.exists()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: dkist-processing-common
|
|
3
|
-
Version: 10.6.
|
|
3
|
+
Version: 10.6.2
|
|
4
4
|
Summary: Common task classes used by the DKIST science data processing pipelines
|
|
5
5
|
Author-email: NSO / AURA <dkistdc@nso.edu>
|
|
6
6
|
License: BSD-3-Clause
|
|
@@ -65,6 +65,8 @@ Requires-Dist: dkist-quality<2.0,>=1.2.1; extra == "quality"
|
|
|
65
65
|
dkist-processing-common
|
|
66
66
|
=======================
|
|
67
67
|
|
|
68
|
+
|codecov|
|
|
69
|
+
|
|
68
70
|
This repository works in concert with `dkist-processing-core <https://pypi.org/project/dkist-processing-core/>`_ and `dkist-processing-*instrument*` to
|
|
69
71
|
form the DKIST calibration processing stack.
|
|
70
72
|
|
|
@@ -173,3 +175,6 @@ then the Bitbucket pipeline will fail. To be able to use the same tag you must d
|
|
|
173
175
|
# Re-tag with the same version
|
|
174
176
|
git tag vWHATEVER.THE.VERSION
|
|
175
177
|
git push --tags origin main
|
|
178
|
+
|
|
179
|
+
.. |codecov| image:: https://codecov.io/bb/dkistdc/dkist-processing-common/graph/badge.svg?token=3QSLGSEF3O
|
|
180
|
+
:target: https://codecov.io/bb/dkistdc/dkist-processing-common
|
|
@@ -7,8 +7,6 @@ README.rst
|
|
|
7
7
|
bitbucket-pipelines.yml
|
|
8
8
|
pyproject.toml
|
|
9
9
|
changelog/.gitempty
|
|
10
|
-
changelog/236.misc.1.rst
|
|
11
|
-
changelog/236.misc.rst
|
|
12
10
|
dkist_processing_common/__init__.py
|
|
13
11
|
dkist_processing_common/config.py
|
|
14
12
|
dkist_processing_common/manual.py
|
|
@@ -96,6 +94,7 @@ dkist_processing_common/tests/test_flower_pot.py
|
|
|
96
94
|
dkist_processing_common/tests/test_input_dataset.py
|
|
97
95
|
dkist_processing_common/tests/test_interservice_bus.py
|
|
98
96
|
dkist_processing_common/tests/test_interservice_bus_mixin.py
|
|
97
|
+
dkist_processing_common/tests/test_manual_processing.py
|
|
99
98
|
dkist_processing_common/tests/test_output_data_base.py
|
|
100
99
|
dkist_processing_common/tests/test_parameters.py
|
|
101
100
|
dkist_processing_common/tests/test_parse_l0_input_data.py
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
Convert dataclasses in the graphql model to Pydantic BaseModels for additional validation. In the
|
|
2
|
-
RecipeRunResponse class, configuration is converted from a JSON dictionary to its own Pydantic BaseModel.
|
|
3
|
-
In the InputDatasetPartResponse class, the inputDatasetPartDocument is now returned as a list of dictionaries.
|
|
File without changes
|
{dkist_processing_common-10.6.1rc5 → dkist_processing_common-10.6.2}/.pre-commit-config.yaml
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
|
|
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
|