From a9071ebe3b4aafed9a2ac17a77e21245ca0784bf Mon Sep 17 00:00:00 2001 From: colin combe Date: Fri, 4 Oct 2024 12:08:50 +0100 Subject: [PATCH] take out link site validity check --- parser/MzIdParser.py | 8 ++++---- setup.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/parser/MzIdParser.py b/parser/MzIdParser.py index d542dc1..7176ad1 100644 --- a/parser/MzIdParser.py +++ b/parser/MzIdParser.py @@ -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, diff --git a/setup.py b/setup.py index 403d307..9de7dd0 100644 --- a/setup.py +++ b/setup.py @@ -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.",