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:
183 bytes
|
Line | |
---|
1 | # ATOMDATA Id type x=3 neighbors=4
|
---|
2 | 1 O 0 0 0 2 3 0 0
|
---|
3 | 2 H 0.759 0 0.504 1 0 0 0
|
---|
4 | 3 H 0.759 0 -0.504 1 0 0 0
|
---|
5 | 4 O 2 0 0 5 6 0 0
|
---|
6 | 5 H 2.759 0 0.504 4 0 0 0
|
---|
7 | 6 H 2.759 0 -0.504 4 0 0 0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.