- Timestamp:
- 09/12/11 17:29:15 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STAsciiWriter.cpp
r2163 r2294 137 137 //addLine(of, "Rest Freq.", 138 138 // stable.molecules().getRestFrequency(rec.asuInt("MOLECULE_ID") )); 139 addLine(of, "Rest Freq.", restfreqs[0]); 140 for ( int i=1; i<nf; ++i) { 141 addLine(of, " ", restfreqs[i]); 139 if ( nf > 0 ) { 140 addLine(of, "Rest Freq.", restfreqs[0]); 141 for ( int i=1; i<nf; ++i) { 142 addLine(of, " ", restfreqs[i]); 143 } 144 } 145 else { 146 addLine(of, "Rest Freq.", "NONE" ); 142 147 } 143 148 ostringstream osflagrow;
Note:
See TracChangeset
for help on using the changeset viewer.