Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-1730 5.0.1 Python Api improvements
  3. PM-1755

catalog write location should be stored upon call to catalog.write()

    XMLWordPrintable

Details

    Description

      When invoking SiteCatalog.write(), TransformationCatalog.write(), and ReplicaCatalog.write(), the write location should be stored as a member variable in those instances as this location can be later used, for example, when specifying pegasus.catalog.replica.file.

      This is also consistent with the Workflow implementation, as we store its path upon a call to wf.write().

      Example.
      sc = SiteCatalog()
      sc.write("/here/is/sites.yml")
      p = sc.location() # returns /here/is/sites.yml

      Attachments

        Activity

          People

            tanaka Ryan Tanaka
            tanaka Ryan Tanaka
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: