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

Fix pipetask --show=pipeline option

    Details

    • Templates:
    • Story Points:
      1
    • Sprint:
      DB_F19_10
    • Team:
      Data Access and Database

      Description

      After all recent changes --show=pipeline does not work anymore:

      $ pipetask build -p $PIPE_TASKS_DIR/pipelines/DataReleaseProduction.yaml --show=pipeline
      Traceback (most recent call last):
        File "/project/salnikov/gen3-middleware/ctrl_mpexec/bin/pipetask", line 26, in <module>
          sys.exit(CmdLineFwk().parseAndRun())
        File "/project/salnikov/gen3-middleware/ctrl_mpexec/python/lsst/ctrl/mpexec/cmdLineFwk.py", line 119, in parseAndRun
          self.showInfo(args, pipeline)
        File "/project/salnikov/gen3-middleware/ctrl_mpexec/python/lsst/ctrl/mpexec/cmdLineFwk.py", line 398, in showInfo
          for taskDef in pipeline:
      TypeError: 'Pipeline' object is not iterable
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                salnikov Andy Salnikov
                Reporter:
                salnikov Andy Salnikov
                Reviewers:
                Nate Lust
                Watchers:
                Andy Salnikov, Nate Lust
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel