for job arguments, files should be added as a strings

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

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 [X] (Inactive)
            Reporter:
            Ryan Tanaka [X] (Inactive)
            Archiver:
            Rajiv Mayani

              Created:
              Updated:
              Resolved:
              Archived: