Author: bugman Date: Fri Feb 1 11:56:41 2013 New Revision: 18342 URL: http://svn.gna.org/viewcvs/relax?rev=18342&view=rev Log: Merged revisions 18341 via svnmerge from svn+ssh://bugman@xxxxxxxxxxx/svn/relax/trunk ........ r18341 | bugman | 2013-02-01 11:56:06 +0100 (Fri, 01 Feb 2013) | 5 lines Created the Structure.test_bug_20469_scientific_parser_xray_records system test. This is to catch bug #20469 (https://gna.org/bugs/?20469). ........ Modified: branches/frame_order_testing/ (props changed) branches/frame_order_testing/test_suite/shared_data/structures/1RTE_trunc.pdb branches/frame_order_testing/test_suite/system_tests/structure.py Propchange: branches/frame_order_testing/ ------------------------------------------------------------------------------ --- svnmerge-integrated (original) +++ svnmerge-integrated Fri Feb 1 11:56:41 2013 @@ -1,1 +1,1 @@ -/trunk:1-18339 +/trunk:1-18341 Modified: branches/frame_order_testing/test_suite/shared_data/structures/1RTE_trunc.pdb URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/test_suite/shared_data/structures/1RTE_trunc.pdb?rev=18342&r1=18341&r2=18342&view=diff ============================================================================== --- branches/frame_order_testing/test_suite/shared_data/structures/1RTE_trunc.pdb (original) +++ branches/frame_order_testing/test_suite/shared_data/structures/1RTE_trunc.pdb Fri Feb 1 11:56:41 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: 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=18342&r1=18341&r2=18342&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 11:56:41 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."""