Skip to content

Commit

Permalink
changes in code.
Browse files Browse the repository at this point in the history
  • Loading branch information
ypriverol committed Nov 22, 2023
1 parent d288108 commit c0cd8e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibaq/ibaqpy_commons.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def get_canonical_peptide(peptide_sequence: str) -> str:
:return: peptide sequence
"""
clean_peptide = re.sub("[\(\[].*?[\)\]]", "", peptide_sequence)
clean_peptide = clean_peptide.replace(".", "")
clean_peptide = clean_peptide.replace(".", "").replace("-", "")
return clean_peptide


Expand Down

0 comments on commit c0cd8e4

Please sign in to comment.