Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-1501 Parse YAML DAX files
  3. PM-1505

for job arguments, files should be added as a strings

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: master, 5.0.0
    • Fix Version/s: master, 5.0.0
    • Component/s: None
    • Labels:
      None

      Description

      In the workflow schema, change items to be of type string.
        
      arguments:
              type: array
              items:
                oneOf:
                    - type: string
                    - type: object
                      properties:
                          lfn:
                              type: string
                      required:
                        - lfn
                      additionalProperties: false
              minItems: 0

      In the python api, when a user does:

      f1 = File("f1.txt")
      job.add_args("-i", f1)

      The underlying arguments field should just be ["-i", "f1.txt"] when the job is serialized.

        Attachments

          Activity

            People

            • Assignee:
              tanaka Ryan Tanaka
              Reporter:
              tanaka Ryan Tanaka
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: