dkist-processing-test 1.9.3rc1__tar.gz → 1.9.4__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.
Potentially problematic release.
This version of dkist-processing-test might be problematic. Click here for more details.
- {dkist-processing-test-1.9.3rc1/dkist_processing_test.egg-info → dkist-processing-test-1.9.4}/PKG-INFO +1 -1
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tasks/movie.py +2 -1
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tests/test_tasks.py +4 -2
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4/dkist_processing_test.egg-info}/PKG-INFO +1 -1
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test.egg-info/requires.txt +2 -2
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/setup.cfg +2 -2
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/.gitignore +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/.pre-commit-config.yaml +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/README.rst +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/bitbucket-pipelines.yml +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/__init__.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/models/__init__.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/models/parameters.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tasks/__init__.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tasks/exercise_numba.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tasks/fail.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tasks/fake_science.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tasks/high_memory.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tasks/noop.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tasks/parse.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tasks/quality.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tasks/trial_output_data.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tasks/write_l1.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tests/__init__.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tests/conftest.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tests/test_parameters.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tests/test_workflows.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/workflows/__init__.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/workflows/common_tasks.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/workflows/end_to_end.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/workflows/exercise_numba.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/workflows/fail.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/workflows/noop.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/workflows/resource_queue.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/workflows/trial_end_to_end.py +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test.egg-info/SOURCES.txt +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test.egg-info/dependency_links.txt +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test.egg-info/top_level.txt +0 -0
- {dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dkist-processing-test
|
|
3
|
-
Version: 1.9.
|
|
3
|
+
Version: 1.9.4
|
|
4
4
|
Summary: Example Instrument code that is used by the DKIST Science Data Processing pipelines to test processing infrastructure.
|
|
5
5
|
Home-page: https://bitbucket.org/dkistdc/dkist-processing-test/src/main/
|
|
6
6
|
Author: NSO / AURA
|
{dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tasks/movie.py
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Fake MakeMovieFrames and AssembleTestMovie
|
|
3
3
|
"""
|
|
4
|
+
import numpy as np
|
|
4
5
|
from astropy.io import fits
|
|
5
6
|
from dkist_processing_common.codecs.fits import fits_hdu_decoder
|
|
6
7
|
from dkist_processing_common.codecs.fits import fits_hdulist_encoder
|
|
@@ -27,7 +28,7 @@ class MakeTestMovieFrames(WorkflowTaskBase):
|
|
|
27
28
|
tags=[Tag.output(), Tag.dsps_repeat(d)], decoder=fits_hdu_decoder
|
|
28
29
|
):
|
|
29
30
|
header = hdu.header
|
|
30
|
-
data = hdu.data
|
|
31
|
+
data = np.squeeze(hdu.data)
|
|
31
32
|
output_hdu = fits.PrimaryHDU(data=data, header=header)
|
|
32
33
|
output_hdul = fits.HDUList([output_hdu])
|
|
33
34
|
|
|
@@ -357,8 +357,8 @@ def make_movie_frames_task(tmp_path, recipe_run_id):
|
|
|
357
357
|
)
|
|
358
358
|
header_generator = (d.header() for d in ds)
|
|
359
359
|
for d, header in enumerate(header_generator):
|
|
360
|
-
data = np.ones((10, 10))
|
|
361
|
-
data[: d * 10, :] = 0.0
|
|
360
|
+
data = np.ones((1, 10, 10))
|
|
361
|
+
data[:, : d * 10, :] = 0.0
|
|
362
362
|
hdl = generate_214_l0_fits_frame(data=data, s122_header=header)
|
|
363
363
|
task.write(
|
|
364
364
|
data=hdl,
|
|
@@ -388,6 +388,8 @@ def test_make_movie_frames_task(make_movie_frames_task, mocker):
|
|
|
388
388
|
assert len(movie_frames) == task.testing_num_dsps_repeats
|
|
389
389
|
for frame in movie_frames:
|
|
390
390
|
assert frame.exists()
|
|
391
|
+
hdul = fits.open(frame)
|
|
392
|
+
assert len(hdul[0].data.shape) == 2
|
|
391
393
|
|
|
392
394
|
|
|
393
395
|
@pytest.fixture()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dkist-processing-test
|
|
3
|
-
Version: 1.9.
|
|
3
|
+
Version: 1.9.4
|
|
4
4
|
Summary: Example Instrument code that is used by the DKIST Science Data Processing pipelines to test processing infrastructure.
|
|
5
5
|
Home-page: https://bitbucket.org/dkistdc/dkist-processing-test/src/main/
|
|
6
6
|
Author: NSO / AURA
|
|
@@ -17,10 +17,10 @@ setup_requires = setuptools_scm
|
|
|
17
17
|
packages = find:
|
|
18
18
|
include_package_data = True
|
|
19
19
|
install_requires =
|
|
20
|
-
dkist-processing-common == 6.0.
|
|
20
|
+
dkist-processing-common == 6.0.0
|
|
21
21
|
dkist-header-validator == 5.1.0
|
|
22
22
|
dkist-service-configuration == 1.1.0
|
|
23
|
-
dkist-fits-specifications == 4.1.
|
|
23
|
+
dkist-fits-specifications == 4.1.1
|
|
24
24
|
numba == 0.57.1
|
|
25
25
|
astropy == 5.3.0
|
|
26
26
|
numpy == 1.24.3
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tasks/fail.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tasks/noop.py
RENAMED
|
File without changes
|
{dkist-processing-test-1.9.3rc1 → dkist-processing-test-1.9.4}/dkist_processing_test/tasks/parse.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
|