<commit_before>﻿using Chemistry;

namespace OldInternalLogic
{
    public class MorpheusModification
    {
        private double v;
        #region Public Constructors

        public MorpheusModification(string nameInXml, ModificationType type, char aminoAcid, string database, string databaseName, char prevAA, double alternativeMassShift, bool labile, ChemicalFormula cf)
        {
            this.NameInXml = nameInXml;
            ThisModificationType = type;
            AminoAcid = aminoAcid;
            MonoisotopicMassShift = cf.MonoisotopicMass;
            Database = database;
            DatabaseName = databaseName;
            PrevAminoAcid = prevAA;
            this.AlternativeMassShift = alternativeMassShift;
            this.Labile = labile;
            this.ChemicalFormula = cf;
        }

        public MorpheusModification(string NameInXml)
        {
            this.NameInXml = NameInXml;
        }

        public MorpheusModification(double v)
        {
            this.MonoisotopicMassShift = v;
            ThisModificationType = ModificationType.AminoAcidResidue;
            PrevAminoAcid = '\0';<commit_msg>Update MorpheusModification.cs<commit_after>﻿using Chemistry;

namespace OldInternalLogic
{
    public class MorpheusModification
    {
        #region Public Constructors

        public MorpheusModification(string nameInXml, ModificationType type, char aminoAcid, string database, string databaseName, char prevAA, double alternativeMassShift, bool labile, ChemicalFormula cf)
        {
            this.NameInXml = nameInXml;
            ThisModificationType = type;
            AminoAcid = aminoAcid;
            MonoisotopicMassShift = cf.MonoisotopicMass;
            Database = database;
            DatabaseName = databaseName;
            PrevAminoAcid = prevAA;
            this.AlternativeMassShift = alternativeMassShift;
            this.Labile = labile;
            this.ChemicalFormula = cf;
        }

        public MorpheusModification(string NameInXml)
        {
            this.NameInXml = NameInXml;
        }

        public MorpheusModification(double v)
        {
            this.MonoisotopicMassShift = v;
            ThisModificationType = ModificationType.AminoAcidResidue;
            PrevAminoAcid = '\0';
{'fraction_non_alphanumeric': 0.058746163963174045, 'fraction_numerical': 0.0008768084173608067, 'mean_word_length': 2.2507122507122506, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6632928', 'n_tokens_mistral': 639, 'n_tokens_neox': 607, 'n_words': 129}