diff SMART/Java/Python/cleaning/GffCleaner.py @ 46:169d364ddd91

Uploaded
author m-zytnicki
date Mon, 30 Sep 2013 03:19:26 -0400
parents e57682cd6997
children 97aa2e42bfdf
line wrap: on
line diff
--- a/SMART/Java/Python/cleaning/GffCleaner.py	Wed Sep 18 08:51:22 2013 -0400
+++ b/SMART/Java/Python/cleaning/GffCleaner.py	Mon Sep 30 03:19:26 2013 -0400
@@ -127,11 +127,6 @@
 			if line[0] == ">": break
 			parsedLine = ParsedLine(line, cpt)
 			if self.acceptedTypes == None or parsedLine.type in self.acceptedTypes:
-				if parsedLine.id in self.lines:
-					cpt = 1
-					while "%s-%d" % (parsedLine.id, cpt) in self.lines:
-						cpt += 1
-					parsedLine.id = "%s-%d" % (parsedLine.id, cpt)
 				self.lines[parsedLine.id] = parsedLine
 			progress.inc()
 		progress.done()