Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ctrl_mpexec
-
Labels:
-
Story Points:0.5
-
Epic Link:
-
Sprint:BG3_S19_02
-
Team:Data Access and Database
Description
Michelle Gower reported issues with pickling QuantumGraph which produces diagnostics like this:
Failed to build graph: Can't pickle <class 'lsst.ip.isr.isrTask.IsrTaskConfig'>: it's not the same object as lsst.ip.isr.isrTask.IsrTaskConfig
|
Traceback (most recent call last):
|
File "/home/mgower/gen3work/full_hsc/git/ctrl_mpexec/bin/pipetask", line 26, in <module>
|
sys.exit(CmdLineFwk().parseAndRun())
|
File "/home/mgower/gen3work/full_hsc/git/ctrl_mpexec/python/lsst/ctrl/mpexec/cmdLineFwk.py", line 127, in parseAndRun
|
qgraph = self.makeGraph(pipeline, taskFactory, args)
|
File "/home/mgower/gen3work/full_hsc/git/ctrl_mpexec/python/lsst/ctrl/mpexec/cmdLineFwk.py", line 359, in makeGraph
|
pickle.dump(qgraph, pickleFile)
|
_pickle.PicklingError: Can't pickle <class 'lsst.ip.isr.isrTask.IsrTaskConfig'>: it's not the same object as lsst.ip.isr.isrTask.IsrTaskConfig
|
This seems to be related to last change in module import in TaskLoader.
Trivial fix (though issue is not trivial). Self-reviewed and merged.