Skip to content

Commit

Permalink
Add unstored check
Browse files Browse the repository at this point in the history
  • Loading branch information
islean committed Oct 30, 2023
1 parent 9a743e0 commit e7f8588
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cg/meta/compress/compress.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ def decompress_spring(self, sample_id: str) -> bool:
for compression in compressions:
if not self.crunchy_api.is_spring_decompression_possible(compression_obj=compression):
LOG.info(f"SPRING to FASTQ decompression not possible for {sample_id}")
if self.crunchy_api.is_compression_pending(compression):
if self.crunchy_api.is_compression_pending(
compression
) or self.crunchy_api.is_spring_decompression_done(compression):
LOG.info(
f"Spring file {compression.spring_path.as_posix()} is already being decompressed."
)
Expand Down

0 comments on commit e7f8588

Please sign in to comment.