We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 838b2fc commit b8df036Copy full SHA for b8df036
1 file changed
snakemake/scheduler.py
@@ -292,7 +292,8 @@ def schedule(self):
292
self.workflow.dag.register_running(run)
293
294
if run:
295
- logger.info(f"Execute {len(run)} jobs...")
+ if not self.dryrun:
296
+ logger.info(f"Execute {len(run)} jobs...")
297
298
# actually run jobs
299
local_runjobs = [job for job in run if job.is_local]
@@ -316,6 +317,10 @@ def schedule(self):
316
317
)
318
if runjobs:
319
self.run(runjobs)
320
+ elif not self.dryrun:
321
+ logger.info(
322
+ "No enough resources to execute further jobs (waiting)."
323
+ )
324
except (KeyboardInterrupt, SystemExit):
325
logger.info(
326
"Terminating processes on user request, this might take some time."
0 commit comments