[med-svn] [Git][med-team/snakemake][debian-v7] extra solver debug output

Rebecca N. Palmer (@rnpalmer-guest) gitlab at salsa.debian.org
Sun Aug 4 15:18:17 BST 2024



Rebecca N. Palmer pushed to branch debian-v7 at Debian Med / snakemake


Commits:
9f130259 by Rebecca N. Palmer at 2024-08-04T15:17:34+01:00
extra solver debug output

- - - - -


2 changed files:

- debian/changelog
- debian/patches/cancelscript_debug.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -2,7 +2,7 @@ snakemake (7.32.4-4+ppa1) unstable; urgency=medium
 
   * fail tests to get a log, extra debug output
 
- -- Rebecca N. Palmer <rebecca_palmer at zoho.com>  Sun, 04 Aug 2024 14:25:13 +0100
+ -- Rebecca N. Palmer <rebecca_palmer at zoho.com>  Sun, 04 Aug 2024 15:17:21 +0100
 
 snakemake (7.32.4-4) unstable; urgency=medium
 


=====================================
debian/patches/cancelscript_debug.patch
=====================================
@@ -136,3 +136,19 @@ Forwarded: not-needed
              )
              self._executor.cancel()
              return False
+@@ -762,6 +762,7 @@ class JobScheduler(JobSchedulerExecutorInterface):
+                 "Using greedy selector because only single job has to be scheduled."
+             )
+             return self.job_selector_greedy(jobs)
++        logger.debug(f"Using ILP selector for {len(jobs)} jobs")
+ 
+         with self._lock:
+             if not self.resources["_cores"]:
+@@ -925,6 +926,7 @@ class JobScheduler(JobSchedulerExecutorInterface):
+         finally:
+             os.environ["PATH"] = old_path
+         solver.msg = self.workflow.verbose
++        logger.debug(f"calling ILP {self.scheduler_ilp_solver} {solver}")
+         prob.solve(solver)
+ 
+     def required_by_job(self, temp_file, job):



View it on GitLab: https://salsa.debian.org/med-team/snakemake/-/commit/9f130259b54bb0cc2596686c2729296c9d9722f1

-- 
View it on GitLab: https://salsa.debian.org/med-team/snakemake/-/commit/9f130259b54bb0cc2596686c2729296c9d9722f1
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240804/8661772d/attachment-0001.htm>


More information about the debian-med-commit mailing list