source: tests/regression/Parser/Xyz/pre/water.xyz@ fe02bf

Last change on this file since fe02bf was c0e28c, checked in by Frederik Heber <heber@…>, 13 years ago

FIX: One could not load another pdb file due to local ids messing up.

  • We enhanced FormatParser_common now contains two maps to go from local to global and back again. Thi is necessary, as ids in a file only make sense within that file. We added the following functions: resetIdAssociations(), associateLocaltoGlobalId(), getGlobalId(), getLocalId().
  • adapted TremoloParser and PdbParser because they are the only formats that also contain bond information and where the associations are needed to translate the local connections into global ones.
  • removed SerialSet entirely from PdbParser, is replaced by new construct, in similar manner AtomIdMap for TremoloParser.
  • TEST: Added regression tests for all Parser to check for loading twice the same file.
  • Property mode set to 100644
File size: 108 bytes
Line 
13
2 Created by molecuilder on Thu Jan 5 13:10:13 2012, time step 0
3O 0 0 0
4H 0.759 0 0.504
5H 0.759 0 -0.504
Note: See TracBrowser for help on using the repository browser.