@@ -100,9 +100,9 @@ public List<ProxiSpectrum> Retrieve()
100100 reaction = SpectrumWriter . GetReaction ( scanEvent , scanNumber ) ;
101101 }
102102
103- proxiSpectrum . AddAttribute ( accession : "MS:10003057 " , name : "scan number" ,
103+ proxiSpectrum . AddAttribute ( accession : "MS:1003057 " , name : "scan number" ,
104104 value : scanNumber . ToString ( CultureInfo . InvariantCulture ) ) ;
105- proxiSpectrum . AddAttribute ( accession : "MS:10000016 " , name : "scan start time" ,
105+ proxiSpectrum . AddAttribute ( accession : "MS:1000016 " , name : "scan start time" ,
106106 value : ( time * 60 ) . ToString ( CultureInfo . InvariantCulture ) ) ;
107107 proxiSpectrum . AddAttribute ( accession : "MS:1000511" , name : "ms level" ,
108108 value : ( ( int ) scanFilter . MSOrder ) . ToString ( CultureInfo . InvariantCulture ) ) ;
@@ -128,7 +128,7 @@ public List<ProxiSpectrum> Retrieve()
128128 //injection time
129129 if ( ionInjectionTime != null )
130130 {
131- proxiSpectrum . AddAttribute ( accession : "MS:10000927 " , name : "ion injection time" ,
131+ proxiSpectrum . AddAttribute ( accession : "MS:1000927 " , name : "ion injection time" ,
132132 value : ionInjectionTime . ToString ( ) , cvGroup : cvGroup . ToString ( ) ) ;
133133 proxiSpectrum . AddAttribute ( accession : "UO:0000028" , name : "millisecond" ,
134134 cvGroup : cvGroup . ToString ( ) ) ;
@@ -140,7 +140,7 @@ public List<ProxiSpectrum> Retrieve()
140140 // Store the precursor information
141141 var selectedIonMz =
142142 SpectrumWriter . CalculateSelectedIonMz ( reaction , monoisotopicMz , isolationWidth ) ;
143- proxiSpectrum . AddAttribute ( accession : "MS:10000744 " , name : "selected ion m/z" ,
143+ proxiSpectrum . AddAttribute ( accession : "MS:1000744 " , name : "selected ion m/z" ,
144144 value : selectedIonMz . ToString ( CultureInfo . InvariantCulture ) ) ;
145145 proxiSpectrum . AddAttribute ( accession : "MS:1000827" ,
146146 name : "isolation window target m/z" ,
@@ -159,24 +159,24 @@ public List<ProxiSpectrum> Retrieve()
159159 // scan polarity
160160 if ( scanFilter . Polarity == PolarityType . Positive )
161161 {
162- proxiSpectrum . AddAttribute ( accession : "MS:10000465 " , name : "scan polarity" ,
162+ proxiSpectrum . AddAttribute ( accession : "MS:1000465 " , name : "scan polarity" ,
163163 value : "positive scan" , valueAccession : "MS:1000130" ) ;
164164 }
165165 else
166166 {
167- proxiSpectrum . AddAttribute ( accession : "MS:10000465 " , name : "scan polarity" ,
167+ proxiSpectrum . AddAttribute ( accession : "MS:1000465 " , name : "scan polarity" ,
168168 value : "negative scan" , valueAccession : "MS:1000129" ) ;
169169 }
170170
171171 // charge state
172172 if ( charge != null )
173173 {
174- proxiSpectrum . AddAttribute ( accession : "MS:10000041 " , name : "charge state" ,
174+ proxiSpectrum . AddAttribute ( accession : "MS:1000041 " , name : "charge state" ,
175175 value : charge . ToString ( ) ) ;
176176 }
177177
178178 // write the filter string
179- proxiSpectrum . AddAttribute ( accession : "MS:10000512 " , name : "filter string" ,
179+ proxiSpectrum . AddAttribute ( accession : "MS:1000512 " , name : "filter string" ,
180180 value : scanEvent . ToString ( ) ) ;
181181
182182 double [ ] masses = null ;
0 commit comments