Skip to content

Commit

Permalink
fix: resolve error due to intermediate.compressed_path
Browse files Browse the repository at this point in the history
  • Loading branch information
igboyes committed Feb 16, 2022
1 parent 16812d8 commit a6f3c5c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,16 @@ async def finalize(
proc: int,
):
"""Compress and subtraction data."""
compressed_path = fasta_path.parent / "subtraction.fa.gz"

await run_in_executor(
compress_file,
fasta_path,
intermediate.compressed_path,
compressed_path,
proc,
)

await subtraction_provider.upload(intermediate.compressed_path)
await subtraction_provider.upload(compressed_path)

for path in intermediate.bowtie_path.glob("*.bt2"):
await subtraction_provider.upload(path)
Expand Down

0 comments on commit a6f3c5c

Please sign in to comment.