Skip to content

Commit

Permalink
take out link site validity check
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-combe committed Oct 4, 2024
1 parent 16246e6 commit a9071eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions parser/MzIdParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,10 +551,10 @@ def parse_peptides(self):
f'crosslinks, including multiple looplinks in peptide not supported')

# link site validity check
if link_site1 is not None and link_site1 < 0:
raise MzIdParseException(f'Link site for peptide {pep_id} is negative')
if link_site2 is not None and link_site2 < 0:
raise MzIdParseException(f'Link site for peptide {pep_id} is negative')
# if link_site1 is not None and link_site1 < 0:
# raise MzIdParseException(f'Link site for peptide {pep_id} is negative')
# if link_site2 is not None and link_site2 < 0:
# raise MzIdParseException(f'Link site for peptide {pep_id} is negative')

peptide_data = {
'id': peptide_index,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_version(rel_path):

setup(
name="xi-mzidentml-converter",
version="0.2.6a2",
version="0.2.6a3",
description="xi-mzidentml-converter uses pyteomics (https://pyteomics.readthedocs.io/en/latest/index.html) to "
"parse mzIdentML files (v1.2.0) and extract crosslink information. Results are written to a "
"relational database (PostgreSQL or SQLite) using sqlalchemy.",
Expand Down

0 comments on commit a9071eb

Please sign in to comment.