Skip to content

Commit 0a675cf

Browse files
committed
Fix error message
1 parent 8615a86 commit 0a675cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/filter_gtf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def tab_delimited(file: str) -> float:
3030
def filter_gtf(fasta: str, gtf_in: str, filtered_gtf_out: str, skip_transcript_id_check: bool) -> None:
3131
"""Filter GTF file based on FASTA sequence names."""
3232
if tab_delimited(gtf_in) != 8:
33-
raise ValueError("Invalid GTF file: Expected 8 tab-separated columns.")
33+
raise ValueError("Invalid GTF file: Expected 9 tab-separated columns.")
3434

3535
seq_names_in_genome = extract_fasta_seq_names(fasta)
3636
logger.info(f"Extracted chromosome sequence names from {fasta}")

0 commit comments

Comments
 (0)