From bb75a4e727a5f3dd31e058ba116fd45d14fc34ae Mon Sep 17 00:00:00 2001 From: Roman Briskine Date: Tue, 29 May 2018 11:33:08 +0200 Subject: [PATCH] Fix silent TypeError in wellington bootstrap --- pyDNase/scripts/wellington_bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyDNase/scripts/wellington_bootstrap.py b/pyDNase/scripts/wellington_bootstrap.py index bd56921..76166cf 100755 --- a/pyDNase/scripts/wellington_bootstrap.py +++ b/pyDNase/scripts/wellington_bootstrap.py @@ -71,7 +71,7 @@ def footprints(self, withCutoff = -20, merge = 1): ranges = new_ranges # Creates reads GenomicIntervalSet and adds the footprints to them for i in merged_ranges: - return_set.append(((i[0] + i[1])/2, i[3])) + return_set.append((int((i[0] + i[1])/2), i[3])) return return_set def findDiffFP(self):