Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

From Private to Protected, allows control from inherited classes #734

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
 using Chemistry;
using Chemistry;
using MassSpectrometry;
using Proteomics.AminoAcidPolymer;
using Proteomics.Fragmentation;
Expand All @@ -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).
/// </summary>
[NonSerialized] private Dictionary<int, Modification> _allModsOneIsNterminus; //we currently only allow one mod per position
[NonSerialized] private bool? _hasChemicalFormulas;
[NonSerialized] protected Dictionary<int, Modification> _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;
Expand Down
Loading