Skip to content

Commit 36a113d

Browse files
committed
fix bug on #33, file obj must be closed with method
1 parent 58ad895 commit 36a113d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parallel-fastq-dump

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def pfd(args, srr_id, extra_args):
4747

4848
# close the file descriptors for good measure
4949
for fd in wfd.values():
50-
os.close(fd)
50+
fd.close()
5151

5252
def split_blocks(start, end, n_pieces):
5353
total = (end-start+1)

0 commit comments

Comments
 (0)