dkist-processing-ops 1.6.16__py3-none-any.whl → 1.6.17__py3-none-any.whl
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-ops might be problematic. Click here for more details.
- dkist_processing_ops/_version.py +2 -2
- dkist_processing_ops/tasks/read_memory_leak.py +15 -7
- {dkist_processing_ops-1.6.16.dist-info → dkist_processing_ops-1.6.17.dist-info}/METADATA +1 -1
- {dkist_processing_ops-1.6.16.dist-info → dkist_processing_ops-1.6.17.dist-info}/RECORD +7 -7
- {dkist_processing_ops-1.6.16.dist-info → dkist_processing_ops-1.6.17.dist-info}/LICENSE.rst +0 -0
- {dkist_processing_ops-1.6.16.dist-info → dkist_processing_ops-1.6.17.dist-info}/WHEEL +0 -0
- {dkist_processing_ops-1.6.16.dist-info → dkist_processing_ops-1.6.17.dist-info}/top_level.txt +0 -0
dkist_processing_ops/_version.py
CHANGED
|
@@ -42,9 +42,22 @@ class FitsDataRead(WorkflowTaskBase, ABC):
|
|
|
42
42
|
for i, byte_object in enumerate(bytes_objects):
|
|
43
43
|
pass
|
|
44
44
|
|
|
45
|
+
if self.run_type == "bytes_task":
|
|
46
|
+
filepaths = self.read(tags=[Tag.input(), Tag.frame()], decoder=path_decoder)
|
|
47
|
+
for filepath in filepaths:
|
|
48
|
+
with open(filepath, "rb") as f:
|
|
49
|
+
byte_object = f.read()
|
|
50
|
+
|
|
45
51
|
if self.run_type == "file_read":
|
|
46
52
|
hdus = self.read(tags=[Tag.input(), Tag.frame()], decoder=fits_hdu_decoder)
|
|
47
|
-
for
|
|
53
|
+
for hdu in hdus:
|
|
54
|
+
h = hdu.header
|
|
55
|
+
d = hdu.data
|
|
56
|
+
|
|
57
|
+
if self.run_type == "file_task":
|
|
58
|
+
filepaths = self.read(tags=[Tag.input(), Tag.frame()], decoder=path_decoder)
|
|
59
|
+
for filepath in filepaths:
|
|
60
|
+
hdu = fits.open(filepath)[1]
|
|
48
61
|
h = hdu.header
|
|
49
62
|
d = hdu.data
|
|
50
63
|
|
|
@@ -79,12 +92,7 @@ class FitsDataRead(WorkflowTaskBase, ABC):
|
|
|
79
92
|
# h = hdu.header
|
|
80
93
|
# d = hdu.data
|
|
81
94
|
#
|
|
82
|
-
|
|
83
|
-
# filepaths = self.read(tags=[Tag.input(), Tag.frame()], decoder=path_decoder)
|
|
84
|
-
# for filepath in filepaths:
|
|
85
|
-
# hdu = fits.open(filepath)[1]
|
|
86
|
-
# h = hdu.header
|
|
87
|
-
# d = hdu.data
|
|
95
|
+
|
|
88
96
|
#
|
|
89
97
|
# if self.run_type == "generated_task":
|
|
90
98
|
# filepaths = self.read(tags=[Tag.input(), Tag.frame()], decoder=path_decoder)
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
dkist_processing_ops/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
dkist_processing_ops/_version.py,sha256=
|
|
2
|
+
dkist_processing_ops/_version.py,sha256=bUNPwAsnC5Y4wwmtKw5lZfH0PuKwJg_38vSI9Pv11Qo,413
|
|
3
3
|
dkist_processing_ops/dags/scale.py,sha256=We5TYjNhkJ-5ykfbrOMgjTpXdzOCkIeyKyA-40sU9r0,2312
|
|
4
4
|
dkist_processing_ops/tasks/__init__.py,sha256=P81O9cg4dlBMqBTaWitdsAte68RsMtDlhV30JSZfXUY,107
|
|
5
|
-
dkist_processing_ops/tasks/read_memory_leak.py,sha256=
|
|
5
|
+
dkist_processing_ops/tasks/read_memory_leak.py,sha256=p_jIqhx3-en8X9QrBkQO9tH0IIeSfCtb369VGnU_f3I,3887
|
|
6
6
|
dkist_processing_ops/tasks/wait.py,sha256=uObka-nH1dKPcGBDsp3t2RCtTV2F1kksM0V-lRewFuY,273
|
|
7
7
|
dkist_processing_ops/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
8
|
dkist_processing_ops/tests/test_workflows.py,sha256=Ch_8BlGeQyPJU_9hB_GOncwW-SoZwpRUVKMOEz0RQZk,285
|
|
9
9
|
dkist_processing_ops/workflows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
10
|
dkist_processing_ops/workflows/memory_leak.py,sha256=lYXAYyJVjXif3Os9xPDp-bPTG_je6HOw1uvRJ4WMUi4,758
|
|
11
11
|
dkist_processing_ops/workflows/smoke.py,sha256=ofXu0_iYF6L3zQy-BOVvS5VdzKhmXs1gyugqMNkd-GM,878
|
|
12
|
-
dkist_processing_ops-1.6.
|
|
13
|
-
dkist_processing_ops-1.6.
|
|
14
|
-
dkist_processing_ops-1.6.
|
|
15
|
-
dkist_processing_ops-1.6.
|
|
16
|
-
dkist_processing_ops-1.6.
|
|
12
|
+
dkist_processing_ops-1.6.17.dist-info/LICENSE.rst,sha256=LJjTmkf2-q1phdZSySMpiyPxgLOy6zYHOr3R1Bb1__8,327
|
|
13
|
+
dkist_processing_ops-1.6.17.dist-info/METADATA,sha256=d1tDJKVwe12ytA2PRpP9PRX_csWjF4jefNtZngzwqoY,1500
|
|
14
|
+
dkist_processing_ops-1.6.17.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
|
15
|
+
dkist_processing_ops-1.6.17.dist-info/top_level.txt,sha256=o_SNho1HKt6wvCSUhm9qzX9FS2iopnqYuMos1CCD9cI,21
|
|
16
|
+
dkist_processing_ops-1.6.17.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{dkist_processing_ops-1.6.16.dist-info → dkist_processing_ops-1.6.17.dist-info}/top_level.txt
RENAMED
|
File without changes
|