Andreas Tille pushed to branch master at Debian Med / sortmerna
Commits: cae3d43e by Andreas Tille at 2024-12-11T17:27:21+01:00 Fix Python3.12 string syntax Closes: #1087092 - - - - - 3 changed files: - debian/changelog - + debian/patches/pyhon3.12-syntax.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +sortmerna (4.3.7-2) UNRELEASED; urgency=medium + + * Fix Python3.12 string syntax + Closes: #1087092 + + -- Andreas Tille <[email protected]> Wed, 11 Dec 2024 17:26:57 +0100 + sortmerna (4.3.7-1) unstable; urgency=medium * New upstream version 4.3.7 ===================================== debian/patches/pyhon3.12-syntax.patch ===================================== @@ -0,0 +1,19 @@ +Description: Fix Python3.12 string syntax +Bug-Debian: https://bugs.debian.org/1087092 +Author: Andreas Tille <[email protected]> +Last-Update: 2024-06-11 + +--- a/scripts/run.py ++++ b/scripts/run.py +@@ -255,9 +255,9 @@ def parse_log(fpath, logd={}): + elif logd['results']['num_denovo'][0] in line: + logd['results']['num_denovo'][1] = int((re.split(' = ', line)[1]).strip()) + elif logd['results']['num_hits'][0] in line: +- logd['results']['num_hits'][1] = int((re.split(' = | \(', line)[1]).strip()) ++ logd['results']['num_hits'][1] = int((re.split(r' = | \(', line)[1]).strip()) + elif logd['results']['num_fail'][0] in line: +- logd['results']['num_fail'][1] = int((re.split(' = | \(', line)[1]).strip()) ++ logd['results']['num_fail'][1] = int((re.split(r' = | \(', line)[1]).strip()) + elif logd['num_id_cov'][0] in line: + # line: '..thresholds = 44223 (44.22)' + val = line.split('=')[1] ===================================== debian/patches/series ===================================== @@ -1,2 +1,3 @@ concurrentqueue.h.patch gcc-13.patch +pyhon3.12-syntax.patch View it on GitLab: https://salsa.debian.org/med-team/sortmerna/-/commit/cae3d43e1a978390e0d16434b00323189933015b -- View it on GitLab: https://salsa.debian.org/med-team/sortmerna/-/commit/cae3d43e1a978390e0d16434b00323189933015b You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
