Skip to content

Commit 90538aa

Browse files
authored
fix(grz-common): meanReadLength param None vs 0 (#435)
For long read data, the mean read length check is ignored; the correct respective parameter for grz-check is `0`, not `None`.
1 parent 81bd0cb commit 90538aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/grz-common/src/grz_common/workers/submission.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def should_check_file(file_path: Path, file_metadata: File) -> bool:
244244
lab_data.sequence_subtype,
245245
)
246246
]
247-
mean_read_length_threshold = thresholds.get("meanReadLength", None)
247+
mean_read_length_threshold = thresholds.get("meanReadLength", 0)
248248

249249
sequence_data = lab_data.sequence_data
250250
fastq_files = [f for f in sequence_data.files if f.file_type == FileType.fastq]

0 commit comments

Comments
 (0)