diff --git a/mzLib/Proteomics/ProteolyticDigestion/PeptideWithSetModifications.cs b/mzLib/Proteomics/ProteolyticDigestion/PeptideWithSetModifications.cs index 067afb849..7a7455b49 100644 --- a/mzLib/Proteomics/ProteolyticDigestion/PeptideWithSetModifications.cs +++ b/mzLib/Proteomics/ProteolyticDigestion/PeptideWithSetModifications.cs @@ -1,4 +1,4 @@ - using Chemistry; +using Chemistry; using MassSpectrometry; using Proteomics.AminoAcidPolymer; using Proteomics.Fragmentation; @@ -22,11 +22,11 @@ public class PeptideWithSetModifications : ProteolyticPeptide /// Dictionary of modifications on the peptide. The N terminus is index 1. /// The key indicates which residue modification is on (with 1 being N terminus). /// - [NonSerialized] private Dictionary _allModsOneIsNterminus; //we currently only allow one mod per position - [NonSerialized] private bool? _hasChemicalFormulas; + [NonSerialized] protected Dictionary _allModsOneIsNterminus; //we currently only allow one mod per position + [NonSerialized] protected bool? _hasChemicalFormulas; [NonSerialized] private string _sequenceWithChemicalFormulas; - [NonSerialized] private double? _monoisotopicMass; - [NonSerialized] private double? _mostAbundantMonoisotopicMass; + [NonSerialized] protected double? _monoisotopicMass; + [NonSerialized] protected double? _mostAbundantMonoisotopicMass; [NonSerialized] private ChemicalFormula _fullChemicalFormula; [NonSerialized] private DigestionParams _digestionParams; private static readonly double WaterMonoisotopicMass = PeriodicTable.GetElement("H").PrincipalIsotope.AtomicMass * 2 + PeriodicTable.GetElement("O").PrincipalIsotope.AtomicMass;