mailr18341 - in /trunk/test_suite: shared_data/structures/1RTE_trunc.pdb system_tests/structure.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on February 01, 2013 - 11:56:
Author: bugman
Date: Fri Feb  1 11:56:06 2013
New Revision: 18341

URL: http://svn.gna.org/viewcvs/relax?rev=18341&view=rev
Log:
Created the Structure.test_bug_20469_scientific_parser_xray_records system 
test.

This is to catch bug #20469 (https://gna.org/bugs/?20469).


Modified:
    trunk/test_suite/shared_data/structures/1RTE_trunc.pdb
    trunk/test_suite/system_tests/structure.py

Modified: trunk/test_suite/shared_data/structures/1RTE_trunc.pdb
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/shared_data/structures/1RTE_trunc.pdb?rev=18341&r1=18340&r2=18341&view=diff
==============================================================================
--- trunk/test_suite/shared_data/structures/1RTE_trunc.pdb (original)
+++ trunk/test_suite/shared_data/structures/1RTE_trunc.pdb Fri Feb  1 
11:56:06 2013
@@ -1,3 +1,10 @@
+CRYST1   44.567   61.443   91.294  90.00  90.00  90.00 P 21 21 21    8       
   
+ORIGX1      1.000000  0.000000  0.000000        0.00000                      
   
+ORIGX2      0.000000  1.000000  0.000000        0.00000                      
   
+ORIGX3      0.000000  0.000000  1.000000        0.00000                      
   
+SCALE1      0.022438  0.000000  0.000000        0.00000                      
   
+SCALE2      0.000000  0.016275  0.000000        0.00000                      
   
+SCALE3      0.000000  0.000000  0.010954        0.00000                      
   
 ATOM      5  N   LEU A   3      49.617   4.693  46.426  1.00 24.00           
N  
 ATOM      6  CA  LEU A   3      49.432   5.476  45.190  1.00 23.29           
C  
 ATOM      7  C   LEU A   3      50.346   4.980  44.055  1.00 22.59           
C  

Modified: trunk/test_suite/system_tests/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/structure.py?rev=18341&r1=18340&r2=18341&view=diff
==============================================================================
--- trunk/test_suite/system_tests/structure.py (original)
+++ trunk/test_suite/system_tests/structure.py Fri Feb  1 11:56:06 2013
@@ -62,7 +62,17 @@
         # Load the file.
         self.interpreter.structure.read_pdb('1RTE_trunc.pdb', dir=path)
 
-        
+
+    def test_bug_20469_scientific_parser_xray_records(self):
+        """Test the bug #20469 (https://gna.org/bugs/?20469), the 
ScientificPython parser failure with X-ray records."""
+
+        # Path of the structure file.
+        path = status.install_path + 
sep+'test_suite'+sep+'shared_data'+sep+'structures'
+
+        # Load the file.
+        self.interpreter.structure.read_pdb('1RTE_trunc.pdb', dir=path, 
parser='scientific')
+
+
     def test_displacement(self):
         """Test of the structure.displacement user function."""
 




Related Messages


Powered by MHonArc, Updated Fri Feb 01 12:00:02 2013