snakemake-interface-software-deployment-plugins 0.7.3__tar.gz → 0.7.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {snakemake_interface_software_deployment_plugins-0.7.3 → snakemake_interface_software_deployment_plugins-0.7.4}/PKG-INFO +1 -1
- {snakemake_interface_software_deployment_plugins-0.7.3 → snakemake_interface_software_deployment_plugins-0.7.4}/pyproject.toml +1 -1
- {snakemake_interface_software_deployment_plugins-0.7.3 → snakemake_interface_software_deployment_plugins-0.7.4}/snakemake_interface_software_deployment_plugins/tests.py +6 -1
- {snakemake_interface_software_deployment_plugins-0.7.3 → snakemake_interface_software_deployment_plugins-0.7.4}/LICENSE +0 -0
- {snakemake_interface_software_deployment_plugins-0.7.3 → snakemake_interface_software_deployment_plugins-0.7.4}/README.md +0 -0
- {snakemake_interface_software_deployment_plugins-0.7.3 → snakemake_interface_software_deployment_plugins-0.7.4}/snakemake_interface_software_deployment_plugins/__init__.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.7.3 → snakemake_interface_software_deployment_plugins-0.7.4}/snakemake_interface_software_deployment_plugins/_common.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.7.3 → snakemake_interface_software_deployment_plugins-0.7.4}/snakemake_interface_software_deployment_plugins/registry/__init__.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.7.3 → snakemake_interface_software_deployment_plugins-0.7.4}/snakemake_interface_software_deployment_plugins/registry/plugin.py +0 -0
- {snakemake_interface_software_deployment_plugins-0.7.3 → snakemake_interface_software_deployment_plugins-0.7.4}/snakemake_interface_software_deployment_plugins/settings.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: snakemake-interface-software-deployment-plugins
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.4
|
|
4
4
|
Summary: This package provides a stable interface for interactions between Snakemake and its software deployment plugins.
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Johannes Köster
|
|
@@ -5,7 +5,7 @@ license = "MIT"
|
|
|
5
5
|
name = "snakemake-interface-software-deployment-plugins"
|
|
6
6
|
packages = [{include = "snakemake_interface_software_deployment_plugins"}]
|
|
7
7
|
readme = "README.md"
|
|
8
|
-
version = "0.7.
|
|
8
|
+
version = "0.7.4"
|
|
9
9
|
|
|
10
10
|
[tool.poetry.dependencies]
|
|
11
11
|
argparse-dataclass = "^2.0.0"
|
|
@@ -129,10 +129,15 @@ class TestSoftwareDeploymentBase(ABC):
|
|
|
129
129
|
|
|
130
130
|
def test_source_path_attributes(self):
|
|
131
131
|
spec = self.get_env_spec()
|
|
132
|
+
|
|
133
|
+
def is_source_file_or_none(attr: str) -> bool:
|
|
134
|
+
val = getattr(spec, attr)
|
|
135
|
+
return val is None or isinstance(val, EnvSpecSourceFile)
|
|
136
|
+
|
|
132
137
|
assert all(
|
|
133
138
|
isinstance(attr, str)
|
|
134
139
|
and hasattr(spec, attr)
|
|
135
|
-
and
|
|
140
|
+
and is_source_file_or_none(attr)
|
|
136
141
|
for attr in spec.source_path_attributes()
|
|
137
142
|
), "bug in plugin: all source path attributes must be of type EnvSpecSourceFile"
|
|
138
143
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|