mailRe: r13162 - /branches/xyz/test_suite/system_tests/structure.py


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

Header


Content

Posted by Edward d'Auvergne on June 22, 2011 - 16:23:
That might work better ;)

Bye,

Edward



On 22 June 2011 16:11,  <hasu@xxxxxxxxxxxxxxxxx> wrote:
Author: han87
Date: Wed Jun 22 16:11:25 2011
New Revision: 13162

URL: http://svn.gna.org/viewcvs/relax?rev=13162&view=rev
Log:
Debugging in the system_test test_read_xyz_internal2().

In the function to load a single spin, the sign for recognizing the 
molecule "#" was added and the second atom was loaded instead of loading 
all C atoms.

Modified:
   branches/xyz/test_suite/system_tests/structure.py

Modified: branches/xyz/test_suite/system_tests/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/xyz/test_suite/system_tests/structure.py?rev=13162&r1=13161&r2=13162&view=diff
==============================================================================
--- branches/xyz/test_suite/system_tests/structure.py (original)
+++ branches/xyz/test_suite/system_tests/structure.py Wed Jun 22 16:11:25 
2011
@@ -662,7 +662,7 @@
        self.assertEqual(cdp.structure.structural_data[0].mol[0].mol_name, 
'SSS-cluster4-new-test_mol1')

        # Load a single atom and test it.
-        
self.interpreter.structure.load_spins('SSS-cluster4-new-test_mol1:@C')
+        
self.interpreter.structure.load_spins('#SSS-cluster4-new-test_mol1:@2')
        self.assertEqual(count_spins(), 1)

        # Try loading a few protons.


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-commits mailing list
relax-commits@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits




Related Messages


Powered by MHonArc, Updated Wed Jun 22 16:40:22 2011