diff --git a/gene/etl/ncbi.py b/gene/etl/ncbi.py index a818788b..fd5cde69 100644 --- a/gene/etl/ncbi.py +++ b/gene/etl/ncbi.py @@ -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()}"