From b317fd3546638ad49c8fe33de8d98bd4636bcfcc Mon Sep 17 00:00:00 2001 From: David Reinhart Date: Tue, 7 Jul 2026 08:40:17 -0700 Subject: [PATCH] fix: Remove underscore from check for Ensembl Protein ID There is no underscore in Ensembl IDs so removing it here. --- src/dcd_mapping/transcripts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dcd_mapping/transcripts.py b/src/dcd_mapping/transcripts.py index 6f6e0c5..41cbed2 100644 --- a/src/dcd_mapping/transcripts.py +++ b/src/dcd_mapping/transcripts.py @@ -438,7 +438,7 @@ async def select_transcripts( target_gene ].target_accession_id # TODO create full list of possible protein accession prefixes - if accession_id.startswith(("NP_", "ENSP_")): + if accession_id.startswith(("NP_", "ENSP")): # TODO make sequence field optional instead of leaving blank here? selected_transcripts[target_gene] = TxSelectResult( np=accession_id,