Skip to content

Commit 7112ee6

Browse files
fix: simplify mountpoint information into self.mountpoints, complemented by self.tempdir holding the temporary directory to use
1 parent 0f10324 commit 7112ee6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

snakemake_interface_software_deployment_plugins/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ def __init__(
177177
within: Optional["EnvBase"],
178178
settings,
179179
shell_executable: ShellExecutable,
180+
mountpoints: List[Path],
180181
tempdir: Path,
181-
source_cache: Path,
182182
cache_prefix: Path,
183183
deployment_prefix: Path,
184184
pinfile_prefix: Path,
@@ -188,8 +188,8 @@ def __init__(
188188
self.within = within
189189
self.settings = settings
190190
self.shell_executable = shell_executable
191+
self.mountpoints = mountpoints
191192
self.tempdir = tempdir
192-
self.source_cache: Path = source_cache
193193
self._deployment_prefix: Path = deployment_prefix
194194
self._cache_prefix: Path = cache_prefix
195195
self._pinfile_prefix: Path = pinfile_prefix

snakemake_interface_software_deployment_plugins/tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ def _get_env_by_cls(
193193
pinfile_prefix.mkdir(parents=True, exist_ok=True)
194194
source_cache.mkdir(parents=True, exist_ok=True)
195195

196+
196197
return env_cls(
197198
spec=spec,
198199
settings=settings,

0 commit comments

Comments
 (0)