Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ap_pipe
-
Labels:
-
Story Points:1
-
Epic Link:
-
Sprint:AP S21-4 (March)
-
Team:Alert Production
-
Urgent?:No
Description
As described in this Community post, ApPipeTask assumes that any calexps or difference images will always be in an output repository or rerun, which causes the --reuse-outputs-from flag to ignore products created by an external pipeline (in this case, hscPipe 8.4).
The bug should be fixable by removing the write=True flag from any datasetExists checks.
I briefly looked at datasetExists and I cannot fully see why it requires the existence in all output locations should there be multiple ones. But in our case the problem was that the dataset was not present in the (single) output repo, and was not looked at the input repos due to the write=True flag. The fix looks good to me.