when adding PFNs to the replica/transformation catalogs, it could be nice to have the 'pfn' argument by default check ./input and ./bin

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

XMLWordPrintable

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major
    • None
    • Affects Version/s: master
    • Component/s: Workflow API Libraries
    • None

      Suggestion made by lpottieras a "nice to have" for a future release.

      It could be nice that the API considers by default the current directory to find PFN (Path(".").resolve() ) so the users do not have to type that each time it as it can be error-prone.

      Example.
      ./inputs/f.a <-- already exists

      rc = ReplicaCatalog()
      rc.add_replica(site="local", lfn="f.a") <-- internally check Path(".") / "inputs/"f.a" and throw FileNotFound error if it doesn't exist there ONLY if site is "local"

      If pfn was given explicitly, then we use that.

            Assignee:
            Ryan Tanaka [X] (Inactive)
            Reporter:
            Ryan Tanaka [X] (Inactive)
            Archiver:
            Rajiv Mayani

              Created:
              Updated:
              Resolved:
              Archived: