Skip to content

Commit

Permalink
feat: add Snakemake/SMK to descriptor types
Browse files Browse the repository at this point in the history
  • Loading branch information
uniqueg committed Nov 9, 2021
1 parent 3e2a291 commit 24156d6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion trs_cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.4.0'
__version__ = '0.5.0'
20 changes: 10 additions & 10 deletions trs_cli/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1140,8 +1140,8 @@ def get_descriptor(
type: The output type of the descriptor. Plain types return
the bare descriptor while the "non-plain" types return a
descriptor wrapped with metadata. Allowed values include "CWL",
"WDL", "NFL", "GALAXY", "PLAIN_CWL", "PLAIN_WDL", "PLAIN_NFL",
"PLAIN_GALAXY".
"WDL", "NFL", "GALAXY", "SMK", "PLAIN_CWL", "PLAIN_WDL",
"PLAIN_NFL", "PLAIN_GALAXY", "PLAIN_SMK".
id: A unique identifier of the tool, scoped to this registry OR
a TRS URI. If a TRS URI is passed and includes the version
identifier, passing a `version_id` is optional. For more
Expand Down Expand Up @@ -1217,8 +1217,8 @@ def get_descriptor_by_path(
type: The output type of the descriptor. Plain types return
the bare descriptor while the "non-plain" types return a
descriptor wrapped with metadata. Allowed values include "CWL",
"WDL", "NFL", "GALAXY", "PLAIN_CWL", "PLAIN_WDL", "PLAIN_NFL",
"PLAIN_GALAXY".
"WDL", "NFL", "GALAXY", "SMK", "PLAIN_CWL", "PLAIN_WDL",
"PLAIN_NFL", "PLAIN_GALAXY", "PLAIN_SMK".
path: Path, including filename, of descriptor or associated file
relative to the primary descriptor file.
id: A unique identifier of the tool, scoped to this registry OR
Expand Down Expand Up @@ -1296,8 +1296,8 @@ def get_files(
type: The output type of the descriptor. Plain types return
the bare descriptor while the "non-plain" types return a
descriptor wrapped with metadata. Allowed values include "CWL",
"WDL", "NFL", "GALAXY", "PLAIN_CWL", "PLAIN_WDL", "PLAIN_NFL",
"PLAIN_GALAXY".
"WDL", "NFL", "GALAXY", "SMK", "PLAIN_CWL", "PLAIN_WDL",
"PLAIN_NFL", "PLAIN_GALAXY", "PLAIN_SMK".
id: A unique identifier of the tool, scoped to this registry OR
a hostname-based TRS URI. If TRS URIs include the version
information, passing a `version_id` is optional.
Expand Down Expand Up @@ -1377,8 +1377,8 @@ def get_tests(
type: The output type of the descriptor. Plain types return
the bare descriptor while the "non-plain" types return a
descriptor wrapped with metadata. Allowed values include "CWL",
"WDL", "NFL", "GALAXY", "PLAIN_CWL", "PLAIN_WDL", "PLAIN_NFL",
"PLAIN_GALAXY".
"WDL", "NFL", "GALAXY", "SMK", "PLAIN_CWL", "PLAIN_WDL",
"PLAIN_NFL", "PLAIN_GALAXY", "PLAIN_SMK".
id: A unique identifier of the tool, scoped to this registry OR
a TRS URI. If a TRS URI is passed and includes the version
identifier, passing a `version_id` is optional. For more
Expand Down Expand Up @@ -1455,8 +1455,8 @@ def retrieve_files(
type: The output type of the descriptor. Plain types return
the bare descriptor while the "non-plain" types return a
descriptor wrapped with metadata. Allowed values include
"CWL", "WDL", "NFL", "GALAXY", "PLAIN_CWL", "PLAIN_WDL",
"PLAIN_NFL", "PLAIN_GALAXY".
"CWL", "WDL", "NFL", "GALAXY", "SMK", "PLAIN_CWL", "PLAIN_WDL",
"PLAIN_NFL", "PLAIN_GALAXY", "PLAIN_SMK".
id: A unique identifier of the tool, scoped to this registry OR
a hostname-based TRS URI. If TRS URIs include the version
information, passing a `version_id` is optional.
Expand Down
1 change: 1 addition & 0 deletions trs_cli/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class DescriptorType(str, Enum):
WDL = 'WDL'
NFL = 'NFL'
GALAXY = 'GALAXY'
SMK = 'SMK'


class Error(CustomBaseModel):
Expand Down

0 comments on commit 24156d6

Please sign in to comment.