Candidate_v1.6.1
Last change
on this file 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:
374 bytes
|
Line | |
---|
1 | REMARK created by molecuilder on Fri Aug 12 18:59:41 2011, time step 0
|
---|
2 | ATOM 1 O01 0non 01 0.000 0.000 0.000 0.00 0.00 O 0
|
---|
3 | ATOM 2 H01 0non 01 0.759 0.000 0.504 0.00 0.00 H 0
|
---|
4 | ATOM 3 H02 0non 01 0.759 0.000 -0.504 0.00 0.00 H 0
|
---|
5 | CONECT 1 2 3
|
---|
6 | CONECT 2 1
|
---|
7 | CONECT 3 1
|
---|
8 | END
|
---|
Note:
See
TracBrowser
for help on using the repository browser.