Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ip_isr
-
Labels:
-
Story Points:18
-
Epic Link:
-
Sprint:DRP F17-1, DRP F18-4
-
Team:Data Release Production
Description
IsrTask is a command-line task, but its run method does not take a dataRef (it instead has a runDataRef method. This is inconsistent with other CmdLineTasks and more importantly breaks parseAndRun.
I'm committing a small workaround on DM-6631 to get parseAndRun working, but the ultimately method names should be made consistent across CmdLineTasks. That will require an API change and hence an RFC.
The IsrTask is called as a subtask to ProcessCcdTask everywhere it is invoked. This allows it to be retargeted to the particular camera as needed. This is not the case when called from a dedicated runIsr.py script. IsrTask is then the main task, and cannot be retargeted.
I am looking for suggestions, as my initial idea of creating a dummy task that does nothing but setup and retarget IsrTask as a subtask does not feel like an elegant solution.