Skip to content

Commit e786e2f

Browse files
authored
Change the setting in the modifcation class from private to protected set (#893)
1 parent 1541fe2 commit e786e2f

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

mzLib/Omics/Modifications/Modification.cs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ namespace Omics.Modifications
1010
/// </summary>
1111
public class Modification : IComparable<Modification>
1212
{
13-
public string IdWithMotif { get; private set; }
14-
public string OriginalId { get; private set; }
15-
public string Accession { get; private set; }
16-
public string ModificationType { get; private set; }
17-
public string FeatureType { get; private set; }
18-
public ModificationMotif Target { get; private set; }
19-
public string LocationRestriction { get; private set; }
20-
public ChemicalFormula ChemicalFormula { get; private set; }
13+
public string IdWithMotif { get; protected set; }
14+
public string OriginalId { get; protected set; }
15+
public string Accession { get; protected set; }
16+
public string ModificationType { get; protected set; }
17+
public string FeatureType { get; protected set; }
18+
public ModificationMotif Target { get; protected set; }
19+
public string LocationRestriction { get; protected set; }
20+
public ChemicalFormula ChemicalFormula { get; protected set; }
2121
private double? monoisotopicMass = null;
2222

2323
public double? MonoisotopicMass
@@ -32,11 +32,11 @@ private set
3232
}
3333
}
3434

35-
public Dictionary<string, IList<string>> DatabaseReference { get; private set; }
36-
public Dictionary<string, IList<string>> TaxonomicRange { get; private set; }
37-
public List<string> Keywords { get; private set; }
38-
public Dictionary<DissociationType, List<double>> NeutralLosses { get; private set; }
39-
public Dictionary<DissociationType, List<double>> DiagnosticIons { get; private set; }
35+
public Dictionary<string, IList<string>> DatabaseReference { get; protected set; }
36+
public Dictionary<string, IList<string>> TaxonomicRange { get; protected set; }
37+
public List<string> Keywords { get; protected set; }
38+
public Dictionary<DissociationType, List<double>> NeutralLosses { get; protected set; }
39+
public Dictionary<DissociationType, List<double>> DiagnosticIons { get; protected set; }
4040
public string FileOrigin { get; private set; }
4141
protected const double tolForEquality = 1e-9;
4242

0 commit comments

Comments
 (0)