Skip to content

Commit

Permalink
fix: do not distinguish between local and remote rules in dryrun
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Apr 26, 2024
1 parent a988cef commit 74b99ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion snakemake/jobs.py
Expand Up @@ -981,7 +981,11 @@ def log_info(self, indent=False, printshellcmd=True):
jobid=self.dag.jobid(self),
msg=self.message,
name=self.rule.name,
local=self.dag.workflow.is_local(self.rule),
# in dryrun, we don't want to display a decision whether local or not
# since we don't know how the user wants to execute
local=(
not self.dag.workflow.dryrun and self.dag.workflow.is_local(self.rule)
),
input=format_files(self.input, is_input=True),
output=format_files(self.output, is_input=False),
log=format_files(self.log, is_input=False),
Expand Down

0 comments on commit 74b99ec

Please sign in to comment.