Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add a default for the can_transfer_local_files interface #67

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions snakemake_interface_executor_plugins/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ class CommonSettings:
of the user provided settings. This should be True if the executor spawns
another non-local executor that runs jobs on the same node.
For example, it is used in snakemake-executor-plugin-slurm-jobstep.
can_transfer_local_files: bool
Indicates whether the plugin can transfer local files to the remote executor when
run without a shared FS. If true, it's the plugin's responsibility and not
Snakemake's to manage file transfers.
"""

non_local_exec: bool
Expand All @@ -68,6 +72,7 @@ class CommonSettings:
init_seconds_before_status_checks: int = 0
pass_group_args: bool = False
spawned_jobs_assume_shared_fs: bool = False
can_transfer_local_files: bool = False

@property
def local_exec(self):
Expand Down
Loading