Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Integer division in Python3
· c224015a
Andreas Tille
authored
Nov 18, 2019
c224015a
Upload to unstable
· 927512e6
Andreas Tille
authored
Nov 18, 2019
927512e6
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
927512e6
spades (3.13.1+dfsg-1)
UNRELEASED
; urgency=medium
spades (3.13.1+dfsg-1)
unstable
; urgency=medium
* Fix watch file
* Moved packaging to Python3
...
...
@@ -13,7 +13,7 @@ spades (3.13.1+dfsg-1) UNRELEASED; urgency=medium
* Drop webvis dir from source which has compressed JS but its not used
in the binary package
-- Andreas Tille <tille@debian.org>
Tue
,
0
8
Oct
2019 1
8:17:07
+0
2
00
-- Andreas Tille <tille@debian.org>
Mon
,
1
8
Nov
2019 1
5:34:43
+0
1
00
spades (3.13.0+dfsg2-2) unstable; urgency=medium
...
...
debian/patches/python3.patch
View file @
927512e6
...
...
@@ -1170,3 +1170,14 @@ Description: Make sure Python3 interpreter is used in scripts
#src/tools/dataset_hammer /mnt/ace/acestorage/snikolenko/090408_ultrashort/09
#src/tools/dataset_hammer /mnt/ace/acestorage/data/input/x5/makarich.fbb.msu.ru/run1_fca/Quaked/
#src/tools/dataset_hammer ~/temp/02
--- a/assembler/src/spades_pipeline/truspades/generate_quality.py
+++ b/assembler/src/spades_pipeline/truspades/generate_quality.py
@@ -52,7 +52,7 @@
def CountContigQuality(contigs, qual):
for pos in range(len(contigs[i])):
q = qual[i][pos]
if q[1] != 0:
- qual_list[pos] = chr(q[0] / q[1])
+ qual_list[pos] = chr(q[0] // q[1])
else:
cnt += 1
contigs[i].qual = "".join(qual_list)