diff options
author | Thomas White <taw@physics.org> | 2014-02-22 03:33:19 -0800 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-02-22 03:33:19 -0800 |
commit | f1e268754f27507e61b37419ab64a3338b15b433 (patch) | |
tree | 963fce702034b4952828aabc8d6cf487e0b9b4af | |
parent | 98075d03fa7db2af995c221f1b1e50c224ca9c56 (diff) |
Whitespace
-rw-r--r-- | scripts/clean-stream.py | 12 |
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) |