From 80b7a4ba50e9d9e26922ed5eef33e57a2aea1c09 Mon Sep 17 00:00:00 2001 From: Kevin Ha Date: Wed, 16 Mar 2022 20:52:04 -0400 Subject: [PATCH] Convert to Python 3 --- scripts/find_sites.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/find_sites.py b/scripts/find_sites.py index 11a6f72..6ac92a1 100755 --- a/scripts/find_sites.py +++ b/scripts/find_sites.py @@ -47,12 +47,12 @@ def finalize(self): finalstart = self.peak finalend = self.peak + 1 self.name = self.chr + ":" + str(self.start) + "-" + str(self.end) - print "\t".join([self.chr, str(finalstart), str(finalend), - self.name, str(self.score), self.strand]) + print("\t".join([self.chr, str(finalstart), str(finalend), + self.name, str(self.score), self.strand])) def finalize_interval(self): - print "\t".join([self.chr, str(self.start), str(self.end), - self.peak, str(self.read_count), self.strand]) + print("\t".join([self.chr, str(self.start), str(self.end), + self.peak, str(self.read_count), self.strand])) def overlaps(a, b): '''Determine if two intervals overlap in genomic coordinates'''