Skip to content

Commit

Permalink
Fix missing temp_output_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
arteymix committed Aug 19, 2024
1 parent 029d790 commit f1c4481
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bioluigi/tasks/sratoolkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def resources(self):

def __init__(self, *kwargs, **kwds):
super(FastqDump, self).__init__(*kwargs, **kwds)
self.temp_output_dir = None

def program_args(self):
args = [cfg.fastqdump_bin,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sratoolkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def test_fastq_dump():
assert '-M' in args
assert 18 in args
assert args[-3] == '--outdir'
assert args[-2].startswith('outdir-tmp')
assert args[-2] == 'outdir'
assert args[-1] == 'srr_accession'
assert 'fastq_dump_jobs' in fastq_dump_task.resources
assert fastq_dump_task.resources['fastq_dump_jobs'] == 1

0 comments on commit f1c4481

Please sign in to comment.