for job arguments, files should be added as a strings

XMLWordPrintable

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

      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.

            Assignee:
            Ryan Tanaka (Inactive)
            Reporter:
            Ryan Tanaka (Inactive)
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: