Candidate_v1.6.1
        Candidate_v1.7.0
        stable
      
      
        
          | 
            Last change
 on this file since c4cba2 was             c0e28c, checked in by Frederik Heber <heber@…>, 14 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:
            1.0 KB
           | 
        
      
      
| Rev | Line |   | 
|---|
| [c0e28c] | 1 | REMARK created by molecuilder on Wed Jan  4 19:34:11 2012, 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 | ATOM      4 O01 0non 02          2.000   0.000   0.000  0.00  0.00           O 0
 | 
|---|
 | 6 | ATOM      5 H01 0non 02          2.759   0.000   0.504  0.00  0.00           H 0
 | 
|---|
 | 7 | ATOM      6 H02 0non 02          2.759   0.000  -0.504  0.00  0.00           H 0
 | 
|---|
 | 8 | CONECT    1    2    3                                                           
 | 
|---|
 | 9 | CONECT    2    1                                                                
 | 
|---|
 | 10 | CONECT    3    1                                                                
 | 
|---|
 | 11 | CONECT    4    5    6                                                           
 | 
|---|
 | 12 | CONECT    5    4                                                                
 | 
|---|
 | 13 | CONECT    6    4                                                                
 | 
|---|
 | 14 | END
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.