Nilesh Patra pushed to branch master at Debian Med / hts-nim-tools
Commits: 9dc6bcf7 by Nilesh Patra at 2020-11-13T23:57:44+05:30 New upstream version 0.2.1 - - - - - e774ab44 by Nilesh Patra at 2020-11-13T23:57:44+05:30 routine-update: New upstream version - - - - - 61931e6f by Nilesh Patra at 2020-11-13T23:57:45+05:30 Update upstream source from tag 'upstream/0.2.1' Update to upstream version '0.2.1' with Debian dir 7f8d335dca30179aa63906564907861d6ea68ef9 - - - - - 98db643b by Nilesh Patra at 2020-11-13T23:58:50+05:30 Remove patch since new release is tagged - - - - - adc4aa02 by Nilesh Patra at 2020-11-13T23:59:28+05:30 routine-update: Ready to upload to unstable - - - - - 5 changed files: - debian/changelog - − debian/patches/import_random.patch - − debian/patches/series - hts_nim_tools.nimble - src/copy_number_sampler.nim Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,9 @@ +hts-nim-tools (0.2.1-1) unstable; urgency=medium + + * New upstream version + + -- Nilesh Patra <[email protected]> Fri, 13 Nov 2020 23:59:28 +0530 + hts-nim-tools (0.2.0-3) unstable; urgency=medium * Added dependency on nim-hts-dev, without which the library could ===================================== debian/patches/import_random.patch deleted ===================================== @@ -1,28 +0,0 @@ -Description: Reinstante compatibilitz with nim 1.4 -Forward: This is effectively a backport of a change I found in the current - github repository. I asked to tag a new release on - https://github.com/brentp/hts-nim-tools/issues/11 -Author: Steffen Moeller <[email protected]> -Index: hts-nim-tools/src/copy_number_sampler.nim -=================================================================== ---- hts-nim-tools.orig/src/copy_number_sampler.nim -+++ hts-nim-tools/src/copy_number_sampler.nim -@@ -6,6 +6,7 @@ import lapper - import strutils - import tables - import algorithm -+import random - - import ./version - -@@ -84,8 +85,8 @@ proc internal_sampler(ibam:Bam, obam:var - - var po = overlap_p(res[0], record) - -- if res[0].prob < 1 and random(1.0) < res[0].prob: -- if po == 1 or po < 3.0 * random(1.0): -+ if res[0].prob < 1 and rand(1.0) < res[0].prob: -+ if po == 1 or po < 3.0 * rand(1.0): - obam.write(record) - continue - ===================================== debian/patches/series deleted ===================================== @@ -1 +0,0 @@ -import_random.patch ===================================== hts_nim_tools.nimble ===================================== @@ -1,5 +1,5 @@ # Package -version = "0.2.0" +version = "0.2.1" author = "Brent Pedersen" description = "hts-nim command-line tools" license = "MIT" ===================================== src/copy_number_sampler.nim ===================================== @@ -84,8 +84,8 @@ proc internal_sampler(ibam:Bam, obam:var Bam, regions:TableRef[string, seq[cnv]] var po = overlap_p(res[0], record) - if res[0].prob < 1 and random(1.0) < res[0].prob: - if po == 1 or po < 3.0 * random(1.0): + if res[0].prob < 1 and rand(1.0) < res[0].prob: + if po == 1 or po < 3.0 * rand(1.0): obam.write(record) continue View it on GitLab: https://salsa.debian.org/med-team/hts-nim-tools/-/compare/8e4f2076834c3d7d720def0b2727aa3902a77a5c...adc4aa02fa0f139a214c873543eff507130d85a9 -- View it on GitLab: https://salsa.debian.org/med-team/hts-nim-tools/-/compare/8e4f2076834c3d7d720def0b2727aa3902a77a5c...adc4aa02fa0f139a214c873543eff507130d85a9 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
