Skip to content

Commit f6164f1

Browse files
author
stefanks
authored
Merge pull request #171 from smith-chem-wisc/StefanBranch
release for rachel
2 parents ec26760 + 84e3fd9 commit f6164f1

21 files changed

+232
-188
lines changed

InternalLogic/InternalLogicEngineLayer.csproj

+32-24
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,34 @@
3434
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3535
</PropertyGroup>
3636
<ItemGroup>
37+
<Reference Include="Chemistry, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
38+
<HintPath>..\packages\mzLib.1.0.73\lib\Chemistry.dll</HintPath>
39+
<Private>True</Private>
40+
</Reference>
41+
<Reference Include="MassSpectrometry, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
42+
<HintPath>..\packages\mzLib.1.0.73\lib\MassSpectrometry.dll</HintPath>
43+
<Private>True</Private>
44+
</Reference>
3745
<Reference Include="MathNet.Numerics, Version=3.17.0.0, Culture=neutral, processorArchitecture=MSIL">
3846
<HintPath>..\packages\MathNet.Numerics.3.17.0\lib\net40\MathNet.Numerics.dll</HintPath>
3947
<Private>True</Private>
4048
</Reference>
49+
<Reference Include="mzIdentML, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
50+
<HintPath>..\packages\mzLib.1.0.73\lib\mzIdentML.dll</HintPath>
51+
<Private>True</Private>
52+
</Reference>
53+
<Reference Include="MzML, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
54+
<HintPath>..\packages\mzLib.1.0.73\lib\MzML.dll</HintPath>
55+
<Private>True</Private>
56+
</Reference>
57+
<Reference Include="Proteomics, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
58+
<HintPath>..\packages\mzLib.1.0.73\lib\Proteomics.dll</HintPath>
59+
<Private>True</Private>
60+
</Reference>
61+
<Reference Include="Spectra, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
62+
<HintPath>..\packages\mzLib.1.0.73\lib\Spectra.dll</HintPath>
63+
<Private>True</Private>
64+
</Reference>
4165
<Reference Include="System" />
4266
<Reference Include="System.Core" />
4367
<Reference Include="System.Xml.Linq" />
@@ -46,33 +70,17 @@
4670
<Reference Include="System.Data" />
4771
<Reference Include="System.Net.Http" />
4872
<Reference Include="System.Xml" />
49-
<Reference Include="Zlib.Portable, Version=1.11.0.0, Culture=neutral, processorArchitecture=MSIL">
50-
<HintPath>..\packages\Zlib.Portable.1.11.0\lib\portable-net4+sl5+wp8+win8+wpa81+MonoTouch+MonoAndroid\Zlib.Portable.dll</HintPath>
73+
<Reference Include="Thermo, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
74+
<HintPath>..\packages\mzLib.1.0.73\lib\Thermo.dll</HintPath>
5175
<Private>True</Private>
5276
</Reference>
53-
<Reference Include="Chemistry">
54-
<HintPath>..\packages\mzLib.1.0.72\lib\Chemistry.dll</HintPath>
55-
</Reference>
56-
<Reference Include="MassSpectrometry">
57-
<HintPath>..\packages\mzLib.1.0.72\lib\MassSpectrometry.dll</HintPath>
58-
</Reference>
59-
<Reference Include="mzIdentML">
60-
<HintPath>..\packages\mzLib.1.0.72\lib\mzIdentML.dll</HintPath>
61-
</Reference>
62-
<Reference Include="MzML">
63-
<HintPath>..\packages\mzLib.1.0.72\lib\MzML.dll</HintPath>
64-
</Reference>
65-
<Reference Include="Proteomics">
66-
<HintPath>..\packages\mzLib.1.0.72\lib\Proteomics.dll</HintPath>
67-
</Reference>
68-
<Reference Include="Spectra">
69-
<HintPath>..\packages\mzLib.1.0.72\lib\Spectra.dll</HintPath>
70-
</Reference>
71-
<Reference Include="Thermo">
72-
<HintPath>..\packages\mzLib.1.0.72\lib\Thermo.dll</HintPath>
77+
<Reference Include="UsefulProteomicsDatabases, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
78+
<HintPath>..\packages\mzLib.1.0.73\lib\UsefulProteomicsDatabases.dll</HintPath>
79+
<Private>True</Private>
7380
</Reference>
74-
<Reference Include="UsefulProteomicsDatabases">
75-
<HintPath>..\packages\mzLib.1.0.72\lib\UsefulProteomicsDatabases.dll</HintPath>
81+
<Reference Include="Zlib.Portable, Version=1.11.0.0, Culture=neutral, processorArchitecture=MSIL">
82+
<HintPath>..\packages\Zlib.Portable.1.11.0\lib\portable-net4+sl5+wp8+win8+wpa81+MonoTouch+MonoAndroid\Zlib.Portable.dll</HintPath>
83+
<Private>True</Private>
7684
</Reference>
7785
</ItemGroup>
7886
<ItemGroup>

InternalLogic/packages.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="MathNet.Numerics" version="3.17.0" targetFramework="net451" />
4-
<package id="mzLib" version="1.0.72" targetFramework="net451" />
4+
<package id="mzLib" version="1.0.73" targetFramework="net451" />
55
<package id="Zlib.Portable" version="1.11.0" targetFramework="net451" />
66
</packages>

InternalLogicWithFileIO/InternalLogicTaskLayer.csproj

+32-24
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,38 @@
3434
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3535
</PropertyGroup>
3636
<ItemGroup>
37+
<Reference Include="Chemistry, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
38+
<HintPath>..\packages\mzLib.1.0.73\lib\Chemistry.dll</HintPath>
39+
<Private>True</Private>
40+
</Reference>
41+
<Reference Include="MassSpectrometry, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
42+
<HintPath>..\packages\mzLib.1.0.73\lib\MassSpectrometry.dll</HintPath>
43+
<Private>True</Private>
44+
</Reference>
3745
<Reference Include="MathNet.Numerics, Version=3.17.0.0, Culture=neutral, processorArchitecture=MSIL">
3846
<HintPath>..\packages\MathNet.Numerics.3.17.0\lib\net40\MathNet.Numerics.dll</HintPath>
3947
<Private>True</Private>
4048
</Reference>
49+
<Reference Include="mzIdentML, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
50+
<HintPath>..\packages\mzLib.1.0.73\lib\mzIdentML.dll</HintPath>
51+
<Private>True</Private>
52+
</Reference>
53+
<Reference Include="MzML, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
54+
<HintPath>..\packages\mzLib.1.0.73\lib\MzML.dll</HintPath>
55+
<Private>True</Private>
56+
</Reference>
4157
<Reference Include="NetSerializer, Version=4.1.0.0, Culture=neutral, processorArchitecture=MSIL">
4258
<HintPath>..\packages\NetSerializer.4.1.0\lib\net45\NetSerializer.dll</HintPath>
4359
<Private>True</Private>
4460
</Reference>
61+
<Reference Include="Proteomics, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
62+
<HintPath>..\packages\mzLib.1.0.73\lib\Proteomics.dll</HintPath>
63+
<Private>True</Private>
64+
</Reference>
65+
<Reference Include="Spectra, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
66+
<HintPath>..\packages\mzLib.1.0.73\lib\Spectra.dll</HintPath>
67+
<Private>True</Private>
68+
</Reference>
4569
<Reference Include="System" />
4670
<Reference Include="System.Core" />
4771
<Reference Include="System.Xml.Linq" />
@@ -50,33 +74,17 @@
5074
<Reference Include="System.Data" />
5175
<Reference Include="System.Net.Http" />
5276
<Reference Include="System.Xml" />
53-
<Reference Include="Zlib.Portable, Version=1.11.0.0, Culture=neutral, processorArchitecture=MSIL">
54-
<HintPath>..\packages\Zlib.Portable.1.11.0\lib\portable-net4+sl5+wp8+win8+wpa81+MonoTouch+MonoAndroid\Zlib.Portable.dll</HintPath>
77+
<Reference Include="Thermo, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
78+
<HintPath>..\packages\mzLib.1.0.73\lib\Thermo.dll</HintPath>
5579
<Private>True</Private>
5680
</Reference>
57-
<Reference Include="Chemistry">
58-
<HintPath>..\packages\mzLib.1.0.72\lib\Chemistry.dll</HintPath>
59-
</Reference>
60-
<Reference Include="MassSpectrometry">
61-
<HintPath>..\packages\mzLib.1.0.72\lib\MassSpectrometry.dll</HintPath>
62-
</Reference>
63-
<Reference Include="mzIdentML">
64-
<HintPath>..\packages\mzLib.1.0.72\lib\mzIdentML.dll</HintPath>
65-
</Reference>
66-
<Reference Include="MzML">
67-
<HintPath>..\packages\mzLib.1.0.72\lib\MzML.dll</HintPath>
68-
</Reference>
69-
<Reference Include="Proteomics">
70-
<HintPath>..\packages\mzLib.1.0.72\lib\Proteomics.dll</HintPath>
71-
</Reference>
72-
<Reference Include="Spectra">
73-
<HintPath>..\packages\mzLib.1.0.72\lib\Spectra.dll</HintPath>
74-
</Reference>
75-
<Reference Include="Thermo">
76-
<HintPath>..\packages\mzLib.1.0.72\lib\Thermo.dll</HintPath>
81+
<Reference Include="UsefulProteomicsDatabases, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
82+
<HintPath>..\packages\mzLib.1.0.73\lib\UsefulProteomicsDatabases.dll</HintPath>
83+
<Private>True</Private>
7784
</Reference>
78-
<Reference Include="UsefulProteomicsDatabases">
79-
<HintPath>..\packages\mzLib.1.0.72\lib\UsefulProteomicsDatabases.dll</HintPath>
85+
<Reference Include="Zlib.Portable, Version=1.11.0.0, Culture=neutral, processorArchitecture=MSIL">
86+
<HintPath>..\packages\Zlib.Portable.1.11.0\lib\portable-net4+sl5+wp8+win8+wpa81+MonoTouch+MonoAndroid\Zlib.Portable.dll</HintPath>
87+
<Private>True</Private>
8088
</Reference>
8189
</ItemGroup>
8290
<ItemGroup>
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="MathNet.Numerics" version="3.17.0" targetFramework="net451" />
4-
<package id="mzLib" version="1.0.72" targetFramework="net451" />
4+
<package id="mzLib" version="1.0.73" targetFramework="net451" />
55
<package id="NetSerializer" version="4.1.0" targetFramework="net451" />
66
<package id="Zlib.Portable" version="1.11.0" targetFramework="net451" />
77
</packages>

MetaMorpheusCommandLine/MetaMorpheusCommandLine.csproj

+32-24
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,38 @@
3535
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3636
</PropertyGroup>
3737
<ItemGroup>
38+
<Reference Include="Chemistry, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
39+
<HintPath>..\packages\mzLib.1.0.73\lib\Chemistry.dll</HintPath>
40+
<Private>True</Private>
41+
</Reference>
42+
<Reference Include="MassSpectrometry, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
43+
<HintPath>..\packages\mzLib.1.0.73\lib\MassSpectrometry.dll</HintPath>
44+
<Private>True</Private>
45+
</Reference>
3846
<Reference Include="MathNet.Numerics, Version=3.17.0.0, Culture=neutral, processorArchitecture=MSIL">
3947
<HintPath>..\packages\MathNet.Numerics.3.17.0\lib\net40\MathNet.Numerics.dll</HintPath>
4048
<Private>True</Private>
4149
</Reference>
50+
<Reference Include="mzIdentML, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
51+
<HintPath>..\packages\mzLib.1.0.73\lib\mzIdentML.dll</HintPath>
52+
<Private>True</Private>
53+
</Reference>
54+
<Reference Include="MzML, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
55+
<HintPath>..\packages\mzLib.1.0.73\lib\MzML.dll</HintPath>
56+
<Private>True</Private>
57+
</Reference>
4258
<Reference Include="NetSerializer, Version=4.1.0.0, Culture=neutral, processorArchitecture=MSIL">
4359
<HintPath>..\packages\NetSerializer.4.1.0\lib\net45\NetSerializer.dll</HintPath>
4460
<Private>True</Private>
4561
</Reference>
62+
<Reference Include="Proteomics, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
63+
<HintPath>..\packages\mzLib.1.0.73\lib\Proteomics.dll</HintPath>
64+
<Private>True</Private>
65+
</Reference>
66+
<Reference Include="Spectra, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
67+
<HintPath>..\packages\mzLib.1.0.73\lib\Spectra.dll</HintPath>
68+
<Private>True</Private>
69+
</Reference>
4670
<Reference Include="System" />
4771
<Reference Include="System.Core" />
4872
<Reference Include="System.Numerics" />
@@ -52,33 +76,17 @@
5276
<Reference Include="System.Data" />
5377
<Reference Include="System.Net.Http" />
5478
<Reference Include="System.Xml" />
55-
<Reference Include="Zlib.Portable, Version=1.11.0.0, Culture=neutral, processorArchitecture=MSIL">
56-
<HintPath>..\packages\Zlib.Portable.1.11.0\lib\portable-net4+sl5+wp8+win8+wpa81+MonoTouch+MonoAndroid\Zlib.Portable.dll</HintPath>
79+
<Reference Include="Thermo, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
80+
<HintPath>..\packages\mzLib.1.0.73\lib\Thermo.dll</HintPath>
5781
<Private>True</Private>
5882
</Reference>
59-
<Reference Include="Chemistry">
60-
<HintPath>..\packages\mzLib.1.0.72\lib\Chemistry.dll</HintPath>
61-
</Reference>
62-
<Reference Include="MassSpectrometry">
63-
<HintPath>..\packages\mzLib.1.0.72\lib\MassSpectrometry.dll</HintPath>
64-
</Reference>
65-
<Reference Include="mzIdentML">
66-
<HintPath>..\packages\mzLib.1.0.72\lib\mzIdentML.dll</HintPath>
67-
</Reference>
68-
<Reference Include="MzML">
69-
<HintPath>..\packages\mzLib.1.0.72\lib\MzML.dll</HintPath>
70-
</Reference>
71-
<Reference Include="Proteomics">
72-
<HintPath>..\packages\mzLib.1.0.72\lib\Proteomics.dll</HintPath>
73-
</Reference>
74-
<Reference Include="Spectra">
75-
<HintPath>..\packages\mzLib.1.0.72\lib\Spectra.dll</HintPath>
76-
</Reference>
77-
<Reference Include="Thermo">
78-
<HintPath>..\packages\mzLib.1.0.72\lib\Thermo.dll</HintPath>
83+
<Reference Include="UsefulProteomicsDatabases, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
84+
<HintPath>..\packages\mzLib.1.0.73\lib\UsefulProteomicsDatabases.dll</HintPath>
85+
<Private>True</Private>
7986
</Reference>
80-
<Reference Include="UsefulProteomicsDatabases">
81-
<HintPath>..\packages\mzLib.1.0.72\lib\UsefulProteomicsDatabases.dll</HintPath>
87+
<Reference Include="Zlib.Portable, Version=1.11.0.0, Culture=neutral, processorArchitecture=MSIL">
88+
<HintPath>..\packages\Zlib.Portable.1.11.0\lib\portable-net4+sl5+wp8+win8+wpa81+MonoTouch+MonoAndroid\Zlib.Portable.dll</HintPath>
89+
<Private>True</Private>
8290
</Reference>
8391
</ItemGroup>
8492
<ItemGroup>
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="MathNet.Numerics" version="3.17.0" targetFramework="net451" />
4-
<package id="mzLib" version="1.0.72" targetFramework="net451" />
4+
<package id="mzLib" version="1.0.73" targetFramework="net451" />
55
<package id="NetSerializer" version="4.1.0" targetFramework="net451" />
66
<package id="Zlib.Portable" version="1.11.0" targetFramework="net451" />
77
</packages>

MetaMorpheusGUI/MainWindow.xaml.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ public MainWindow()
5151
modListObservableCollection.Add(new ModList("ptmlist.txt"));
5252
modListObservableCollection.Add(new ModList("m.txt"));
5353
modListObservableCollection.Add(new ModList("glyco.txt"));
54-
modListObservableCollection.Add(new ModList("r.txt"));
55-
modListObservableCollection.Add(new ModList("s.txt"));
54+
//modListObservableCollection.Add(new ModList("r.txt"));
55+
//modListObservableCollection.Add(new ModList("s.txt"));
5656

5757
LoadSearchModesFromFile();
5858

MetaMorpheusGUI/MetaMorpheusGUI.csproj

+16-16
Original file line numberDiff line numberDiff line change
@@ -37,32 +37,32 @@
3737
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3838
</PropertyGroup>
3939
<ItemGroup>
40-
<Reference Include="Chemistry, Version=1.0.72.0, Culture=neutral, processorArchitecture=AMD64">
41-
<HintPath>..\packages\mzLib.1.0.72\lib\Chemistry.dll</HintPath>
40+
<Reference Include="Chemistry, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
41+
<HintPath>..\packages\mzLib.1.0.73\lib\Chemistry.dll</HintPath>
4242
<Private>True</Private>
4343
</Reference>
44-
<Reference Include="MassSpectrometry, Version=1.0.72.0, Culture=neutral, processorArchitecture=AMD64">
45-
<HintPath>..\packages\mzLib.1.0.72\lib\MassSpectrometry.dll</HintPath>
44+
<Reference Include="MassSpectrometry, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
45+
<HintPath>..\packages\mzLib.1.0.73\lib\MassSpectrometry.dll</HintPath>
4646
<Private>True</Private>
4747
</Reference>
4848
<Reference Include="MathNet.Numerics, Version=3.17.0.0, Culture=neutral, processorArchitecture=MSIL">
4949
<HintPath>..\packages\MathNet.Numerics.3.17.0\lib\net40\MathNet.Numerics.dll</HintPath>
5050
<Private>True</Private>
5151
</Reference>
52-
<Reference Include="mzIdentML, Version=1.0.72.0, Culture=neutral, processorArchitecture=AMD64">
53-
<HintPath>..\packages\mzLib.1.0.72\lib\mzIdentML.dll</HintPath>
52+
<Reference Include="mzIdentML, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
53+
<HintPath>..\packages\mzLib.1.0.73\lib\mzIdentML.dll</HintPath>
5454
<Private>True</Private>
5555
</Reference>
56-
<Reference Include="MzML, Version=1.0.72.0, Culture=neutral, processorArchitecture=AMD64">
57-
<HintPath>..\packages\mzLib.1.0.72\lib\MzML.dll</HintPath>
56+
<Reference Include="MzML, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
57+
<HintPath>..\packages\mzLib.1.0.73\lib\MzML.dll</HintPath>
5858
<Private>True</Private>
5959
</Reference>
60-
<Reference Include="Proteomics, Version=1.0.72.0, Culture=neutral, processorArchitecture=AMD64">
61-
<HintPath>..\packages\mzLib.1.0.72\lib\Proteomics.dll</HintPath>
60+
<Reference Include="Proteomics, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
61+
<HintPath>..\packages\mzLib.1.0.73\lib\Proteomics.dll</HintPath>
6262
<Private>True</Private>
6363
</Reference>
64-
<Reference Include="Spectra, Version=1.0.72.0, Culture=neutral, processorArchitecture=AMD64">
65-
<HintPath>..\packages\mzLib.1.0.72\lib\Spectra.dll</HintPath>
64+
<Reference Include="Spectra, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
65+
<HintPath>..\packages\mzLib.1.0.73\lib\Spectra.dll</HintPath>
6666
<Private>True</Private>
6767
</Reference>
6868
<Reference Include="System" />
@@ -77,12 +77,12 @@
7777
<Reference Include="System.Xaml">
7878
<RequiredTargetFramework>4.0</RequiredTargetFramework>
7979
</Reference>
80-
<Reference Include="Thermo, Version=1.0.72.0, Culture=neutral, processorArchitecture=AMD64">
81-
<HintPath>..\packages\mzLib.1.0.72\lib\Thermo.dll</HintPath>
80+
<Reference Include="Thermo, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
81+
<HintPath>..\packages\mzLib.1.0.73\lib\Thermo.dll</HintPath>
8282
<Private>True</Private>
8383
</Reference>
84-
<Reference Include="UsefulProteomicsDatabases, Version=1.0.72.0, Culture=neutral, processorArchitecture=AMD64">
85-
<HintPath>..\packages\mzLib.1.0.72\lib\UsefulProteomicsDatabases.dll</HintPath>
84+
<Reference Include="UsefulProteomicsDatabases, Version=1.0.73.0, Culture=neutral, processorArchitecture=AMD64">
85+
<HintPath>..\packages\mzLib.1.0.73\lib\UsefulProteomicsDatabases.dll</HintPath>
8686
<Private>True</Private>
8787
</Reference>
8888
<Reference Include="WindowsBase" />

MetaMorpheusGUI/packages.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="MathNet.Numerics" version="3.17.0" targetFramework="net451" />
4-
<package id="mzLib" version="1.0.72" targetFramework="net451" />
4+
<package id="mzLib" version="1.0.73" targetFramework="net451" />
55
<package id="Zlib.Portable" version="1.11.0" targetFramework="net451" />
66
</packages>

OldInternalLogic/MorpheusModification.cs

+11-4
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ public class MorpheusModification
66
{
77
#region Public Constructors
88

9-
public MorpheusModification(string nameInXml, ModificationType type, char aminoAcid, double monoisotopicMassShift,
10-
string database, string databaseName, char prevAA, double alternativeMassShift, bool labile, ChemicalFormula cf)
9+
public MorpheusModification(string nameInXml, ModificationType type, char aminoAcid, string database, string databaseName, char prevAA, double alternativeMassShift, bool labile, ChemicalFormula cf)
1110
{
1211
this.NameInXml = nameInXml;
1312
ThisModificationType = type;
1413
AminoAcid = aminoAcid;
15-
MonoisotopicMassShift = monoisotopicMassShift;
14+
MonoisotopicMassShift = cf.MonoisotopicMass;
1615
Database = database;
1716
DatabaseName = databaseName;
1817
PrevAminoAcid = prevAA;
@@ -26,6 +25,14 @@ public MorpheusModification(string NameInXml)
2625
this.NameInXml = NameInXml;
2726
}
2827

28+
public MorpheusModification(double v)
29+
{
30+
this.MonoisotopicMassShift = v;
31+
ThisModificationType = ModificationType.AminoAcidResidue;
32+
PrevAminoAcid = '\0';
33+
this.NameInXml = "";
34+
}
35+
2936
#endregion Public Constructors
3037

3138
#region Public Properties
@@ -60,4 +67,4 @@ public override string ToString()
6067

6168
#endregion Public Methods
6269
}
63-
}
70+
}

0 commit comments

Comments
 (0)