From b75f699aaec4757e868598f1a991fd66af394baf Mon Sep 17 00:00:00 2001 From: Jeremy Leipzig Date: Tue, 2 Oct 2018 16:15:01 -0400 Subject: [PATCH] Update IsoClass.py small change for python3 compatibility --- IsoClass.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IsoClass.py b/IsoClass.py index a71a65e..cad9514 100644 --- a/IsoClass.py +++ b/IsoClass.py @@ -35,9 +35,9 @@ while k < exon_count-1: first=re.findall('[^,]+',elements[k]) second=re.findall('[^,]+',elements[k+1]) - left=max([left,first[1]]); + left=max([left,int(first[1])]); #overlapped exons - if left > second[0]: + if left > int(second[0]): if not(k in exon_newindex_dic): exon_newindex_dic[k]=str(exon_newindex)+exon_add; exon_add+='A'