Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-4952

delegate argument parsing to CmdLineTask instances

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: pipe_base
    • Labels:
      None
    • Templates:
    • Story Points:
      2
    • Team:
      Alert Production

      Description

      Command-line argument parsing of data IDs for CmdLineTask s is currently defined at the class level, which means that we cannot make data ID definitions dependent on task configuration. That in turn requires custom processCcd scripts for cameras that start processing at a level other than "raw" (SDSS, DECam with community pipeline ISR, possibly CFHT).

      Instead, we should let CmdLineTask instances setup command-line parsing; after a CmdLineTask is constructed, it will have access to its final configuration tree, and can better choose how to parse its ID arguments.

      I've assigned this to Process Middleware for now, since that's where it lives in the codebase, but it may make more sense to give this to Russell Owen, Paul Price, or Jim Bosch, just because we've already got enough familiarity with the code in question that we could do it quickly. I'll leave that up to John Swinbank, Simon Krughoff, and Margaret Gelman to decide.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  rowen Russell Owen
                  Reporter:
                  jbosch Jim Bosch
                  Watchers:
                  Hsin-Fang Chiang, Jim Bosch, John Swinbank, Paul Price, Russell Owen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel