polaris.provenance.get_path

polaris.provenance.get_path(work_dir: str, suite_name: str | None = None) → str[source]

The path of the provenance file for a suite set up in a work directory

Parameters:
  • work_dir (str) – The work directory the suite was set up in

  • suite_name (str, optional) – The name of the suite

Returns:

path (str) – The suite’s own provenance file if setup wrote one, or else the work directory’s, which records the most recent setup there