[PIPE2D-1306] reduceProfiles.processExposure inconsistent returned Struct cause failures Created: 29/Sep/23 Updated: 29/Sep/23 Resolved: 29/Sep/23 |
|
| Status: | Won't Fix |
| Project: | DRP 2-D Pipeline |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Normal |
| Reporter: | arnaud.lefur | Assignee: | arnaud.lefur |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Story Points: | 1 | ||||||||
| Description |
|
reduceProfiles.processExposure currently returns a Struct which is inconsistent with the one returned by self.reduceExposure.runDataRef which cause the command to fail : File "/work/stack_INFRA-312/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/pipe_base/g590c34a36e+5da9528084/python/lsst/pipe/base/cmdLineTask.py", line 436, in __call__
result = self.runTask(task, dataRef, kwargs)
File "/work/stack_INFRA-312/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/pipe_base/g590c34a36e+5da9528084/python/lsst/pipe/base/cmdLineTask.py", line 504, in runTask
return task.runDataRef(dataRef, **kwargs)
File "/work/stack_INFRA-312/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/drp_stella/w.2023.37/python/pfs/drp/stella/reduceProfiles.py", line 191, in runDataRef
normExp = self.combine([norm.exposureList[0] for norm in normList])
File "/work/stack_INFRA-312/stack/miniconda3-py38_4.9.2-3.0.0/Linux64/drp_stella/w.2023.37/python/pfs/drp/stella/reduceProfiles.py", line 191, in <listcomp>
normExp = self.combine([norm.exposureList[0] for norm in normList])
AttributeError: 'Struct' object has no attribute 'exposureList'
|
| Comments |
| Comment by arnaud.lefur [ 29/Sep/23 ] |
|
The bug has actually been found and fixed in |
| Comment by price [ 29/Sep/23 ] |
|
I believe I've fixed this on |