aboutsummaryrefslogtreecommitdiff
path: root/scripts/clean-stream.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/clean-stream.py')
-rw-r--r--scripts/clean-stream.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/clean-stream.py b/scripts/clean-stream.py
index a0b23b23..1e906e54 100644
--- a/scripts/clean-stream.py
+++ b/scripts/clean-stream.py
@@ -74,17 +74,17 @@ while (line != ''):
if (reg1.match(line)):
n_patt += 1
if indexed :
- suited = True
+ suited = True
if suited :
- num_suited += 1
+ num_suited += 1
while (counter2 <= counter1) :
outline = infile_2.readline()
- if suited :
+ if suited :
outfile.write(outline)
counter2 += 1
- suited = False
+ suited = False
+
+ line = infile_1.readline()
- line = infile_1.readline()
-
print '%d suited of %d patterns have been extracted and saved as %s' % (num_suited, n_patt, sys.argv[2])
Nfile.write('%d' % num_suited)