mailr18353 - in /branches/frame_order_testing: ./ test_suite/shared_data/structures/ test_suite/system_tests/


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

Header


Content

Posted by edward on February 01, 2013 - 15:52:
Author: bugman
Date: Fri Feb  1 15:52:58 2013
New Revision: 18353

URL: http://svn.gna.org/viewcvs/relax?rev=18353&view=rev
Log:
Merged revisions 18349 via svnmerge from 
svn+ssh://bugman@xxxxxxxxxxx/svn/relax/trunk

........
  r18349 | bugman | 2013-02-01 13:08:27 +0100 (Fri, 01 Feb 2013) | 5 lines
  
  Created the Structure.test_bug_20470_alternate_location_indicator system 
test to catch bug #20470.
  
  This report is at https://gna.org/bugs/?20470.
........

Added:
    
branches/frame_order_testing/test_suite/shared_data/structures/1OGT_trunc.pdb
      - copied unchanged from r18349, 
trunk/test_suite/shared_data/structures/1OGT_trunc.pdb
Modified:
    branches/frame_order_testing/   (props changed)
    branches/frame_order_testing/test_suite/system_tests/structure.py

Propchange: branches/frame_order_testing/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Fri Feb  1 15:52:58 2013
@@ -1,1 +1,1 @@
-/trunk:1-18347
+/trunk:1-18349

Modified: branches/frame_order_testing/test_suite/system_tests/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/test_suite/system_tests/structure.py?rev=18353&r1=18352&r2=18353&view=diff
==============================================================================
--- branches/frame_order_testing/test_suite/system_tests/structure.py 
(original)
+++ branches/frame_order_testing/test_suite/system_tests/structure.py Fri Feb 
 1 15:52:58 2013
@@ -71,6 +71,18 @@
 
         # Load the file.
         self.interpreter.structure.read_pdb('1RTE_trunc.pdb', dir=path, 
parser='scientific')
+
+
+    def test_bug_20470_alternate_location_indicator(self):
+        """Catch bug #20470 (https://gna.org/bugs/?20470), the alternate 
location indicator problem."""
+
+        # Path of the structure file.
+        path = status.install_path + 
sep+'test_suite'+sep+'shared_data'+sep+'structures'
+
+        # Load the file, load the spins, and attach the protons.
+        self.interpreter.structure.read_pdb('1OGT_trunc.pdb', dir=path)
+        self.interpreter.structure.load_spins(spin_id='@N', ave_pos=True)
+        self.interpreter.sequence.attach_protons()
 
 
     def test_displacement(self):




Related Messages


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