Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: daf_butler, pipe_base
-
Labels:
-
Story Points:4
-
Epic Link:
-
Team:Data Release Production
-
Urgent?:No
Description
GetTemplateTask takes two `calexp` components, `calexp.bbox` and `calexp.wcs`, as Input connections. When I build the graph for a complete AP pipeline (from ISR to diaPipe), getTemplate should appear after calibrate, taking those inputs from the `calexp` output by calibrate. Instead it appears off by itself, with only its output connected to the difference imaging task.
Probably relatedly, the index order of GetTemplateTask in the generated graph depends on the task name assigned to it in the pipeline yaml definition. See the attached image for an example: naming it "gretrieveTemplate" results in index=1 (thus before calibrate and resulting in an empty qgraph), whereas "retrieveTemplate" results in index=14 (thus after calibrate, and an executable pipeline).
Hate to pile one more, "oh, can you also do X" on this ticket, but I've just noticed that the pipeline dot outputs don't seem to be deterministic: at least task nodes an dimensions seem to have arbitrary order (I'm guessing set iteration, but I'm not sure). If you see any easy ways to address that, please do.