Commit 35b4bb08 authored by Leo Pound Singer's avatar Leo Pound Singer
Browse files

Oops, no need for functools.partial here

Original: d46f67b071839d80c74c3a9f10551780da7fb395
parent d79e4232
......@@ -102,7 +102,6 @@ def process(fitsfilename):
if __name__ == '__main__':
import glob
import functools
import itertools
import pylal.progress
progress = pylal.progress.ProgressBar()
......@@ -124,7 +123,7 @@ if __name__ == '__main__':
count_records = 0
progress.max = len(fitsfilenames)
for record in imap(functools.partial(process), fitsfilenames):
for record in imap(process, fitsfilenames):
count_records += 1
progress.update(count_records, record[0])
print(*record, sep=',', file=outfile)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment