mailr3509 - /1.3/generic_fns/spin.py


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

Header


Content

Posted by edward on November 11, 2007 - 22:33:
Author: bugman
Date: Sun Nov 11 22:33:57 2007
New Revision: 3509

URL: http://svn.gna.org/viewcvs/relax?rev=3509&view=rev
Log:
Further simplifications to the generic_fns.spin.display() function.

Because of the modified spin loop, the function now only consists of 3 lines 
of code!!!


Modified:
    1.3/generic_fns/spin.py

Modified: 1.3/generic_fns/spin.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/spin.py?rev=3509&r1=3508&r2=3509&view=diff
==============================================================================
--- 1.3/generic_fns/spin.py (original)
+++ 1.3/generic_fns/spin.py Sun Nov 11 22:33:57 2007
@@ -188,15 +188,6 @@
     @type spin_id:  str
     """
 
-    # Split up the selection string.
-    mol_token, res_token, spin_token = tokenise(spin_id)
-
-    # The molecule selection string.
-    if mol_token:
-        mol_sel = '#' + mol_token
-    else:
-        mol_sel = None
-
     # Print a header.
     print "\n\n%-15s%-15s%-15s%-15s%-15s" % ("Molecule", "Res number", "Res 
name", "Spin number", "Spin name")
 




Related Messages


Powered by MHonArc, Updated Sun Nov 11 22:40:15 2007