Commit 656b6c7f authored by Mathieu Courcelles's avatar Mathieu Courcelles

Merge branch 'dev' into 'master'

Rollback changes for dead-end (Issue #27)

See merge request !23
parents 87f1434f 9f5a7d5c
Pipeline #15351656 passed with stages
in 1 minute and 25 seconds
......@@ -522,8 +522,7 @@ class CLPeptide(AdminURLMixin, models.Model):
self.link_type = 'Linear peptide'
deadend_keywords = ['bs3', 'bs2g', 'adh_oh',
'[156.08]']
deadend_keywords = ['bs3', 'bs2g', 'adh_oh']
pepseq = self.peptide1
pepseq = re.sub('Cm', 'C', pepseq)
......
......@@ -196,7 +196,7 @@ class KojakParser:
clpep.peptide_position1 = clpep.fs_prot1_id.sequence.find(fields['peptide_wo_mod1']) + 1
pep_pos_dict[key] = clpep.peptide_position1
# Check DSS dead end - this could be improved
# Check DSS dead end - this could be improved
pepseq = re.sub('(K\[.+?\])', 'k', row['Peptide #1'])
pepseq = re.sub('(\[.+?\])', '', pepseq)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment