Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
antgonza committed Aug 7, 2023
1 parent 8248988 commit 2eaa1f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions qp_woltka/tests/test_woltka.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ def test_woltka_to_array_rep82(self):
'none --glob "*.woltka-taxa/none.biom" --rename &\n',
'wait\n',
'\n',
f'cd {out_dir}; tar -cvf alignment.tar *.sam.xz\n',
f'cd {out_dir}; tar zxvf coverages.tgz coverages\n'
f'cd {out_dir}; tar -cvf alignment.tar *.sam.xz; '
'tar zxvf coverages.tgz coverages\n',
'fi\n',
f'finish_woltka {url} {job_id} {out_dir}\n',
'date\n']
Expand Down Expand Up @@ -313,8 +313,8 @@ def test_woltka_to_array_wol(self):
'per-gene --glob "*.woltka-per-gene" --rename &\n',
'wait\n',
'\n',
f'cd {out_dir}; tar -cvf alignment.tar *.sam.xz\n',
f'cd {out_dir}; tar zxvf coverages.tgz coverages\n'
f'cd {out_dir}; tar -cvf alignment.tar *.sam.xz; '
'tar zxvf coverages.tgz coverages\n',
'fi\n',
f'finish_woltka {url} {job_id} {out_dir}\n',
'date\n']
Expand Down
4 changes: 2 additions & 2 deletions qp_woltka/woltka.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ def woltka_to_array(files, output, database_bowtie2, prep, url, name):
'\n'.join(merges),
"wait",
'\n'.join(fcmds),
f'cd {output}; tar -cvf alignment.tar *.sam.xz\n'
f'cd {output}; tar zxvf coverages.tgz coverages\n'
f'cd {output}; tar -cvf alignment.tar *.sam.xz; '
'tar zxvf coverages.tgz coverages\n',
'fi',
f'finish_woltka {url} {name} {output}\n'
"date"] # end time
Expand Down

0 comments on commit 2eaa1f9

Please sign in to comment.