Skip to content

Commit

Permalink
fix: correct gene info file glob typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson committed Sep 29, 2023
1 parent e0c6519 commit d41b76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gene/etl/ncbi.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def _gene_file_is_up_to_date(self, gene_file: Path) -> bool:
:raise GeneFileVersionError: if parsing version from local file fails
"""
try:
version = re.match(r"ncbi_history_(\d+).tsv", gene_file.name).groups()[0]
version = re.match(r"ncbi_info_(\d+).tsv", gene_file.name).groups()[0]
except (IndexError, AttributeError):
raise GeneFileVersionError(
f"Unable to parse version from NCBI gene file: {gene_file.absolute()}"
Expand Down

0 comments on commit d41b76d

Please sign in to comment.