pluto.tools.CWLFile

class pluto.tools.CWLFile(path, CWL_DIR='/home/docs/checkouts/readthedocs.org/user_builds/pluto-util/checkouts/latest/docs/cwl')[source]

Wrapper class to locate the full path to a cwl file more conveniently

Parameters
  • path (str) – name of a CWL file relative to CWL_DIR

  • CWL_DIR (str) – full path to the directory containing CWL files

Examples

Example usage:

cwl_file = CWLFile("foo.cwl")
__init__(path, CWL_DIR='/home/docs/checkouts/readthedocs.org/user_builds/pluto-util/checkouts/latest/docs/cwl')[source]
Parameters
  • path (str) – name of a CWL file relative to CWL_DIR

  • CWL_DIR (str) – full path to the directory containing CWL files

Examples

Example usage:

cwl_file = CWLFile("foo.cwl")

Methods

__init__(path[, CWL_DIR])

param path

name of a CWL file relative to CWL_DIR