Skip to content

Commit a6f3c5c

Browse files
committed
fix: resolve error due to intermediate.compressed_path
1 parent 16812d8 commit a6f3c5c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

workflow.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,16 @@ async def finalize(
131131
proc: int,
132132
):
133133
"""Compress and subtraction data."""
134+
compressed_path = fasta_path.parent / "subtraction.fa.gz"
135+
134136
await run_in_executor(
135137
compress_file,
136138
fasta_path,
137-
intermediate.compressed_path,
139+
compressed_path,
138140
proc,
139141
)
140142

141-
await subtraction_provider.upload(intermediate.compressed_path)
143+
await subtraction_provider.upload(compressed_path)
142144

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

0 commit comments

Comments
 (0)