Skip to content

Commit

Permalink
add warning if protein mapping not available
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-mohr committed May 16, 2024
1 parent 93d6500 commit 16d714a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/epaa.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,9 +425,9 @@ def read_lig_ID_values(filename):

def create_protein_column_value(pep):
# retrieve Ensembl protein ID for given transcript IDs, if we want to provide additional protein ID types, adapt here

# we have to catch cases where no protein information is available, e.g. if there are issues on BioMart side
if transcriptProteinTable is None:
logger.warning(f"Protein mapping not available for peptide {str(pep)}")
return ""

all_proteins = [
Expand Down

0 comments on commit 16d714a

Please sign in to comment.