Author: bugman
Date: Fri Dec 12 10:52:24 2014
New Revision: 27104

URL: http://svn.gna.org/viewcvs/relax?rev=27104&view=rev
Log:
Fix for the displace_id and molecules arguments of the structure.align user 
function.

The atom ID used for the translations and rotations is now properly constructed 
from the molecule
names in the molecules list and the displace_id string.


Modified:
    trunk/pipe_control/structure/main.py

Modified: trunk/pipe_control/structure/main.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/structure/main.py?rev=27104&r1=27103&r2=27104&view=diff
==============================================================================
--- trunk/pipe_control/structure/main.py        (original)
+++ trunk/pipe_control/structure/main.py        Fri Dec 12 10:52:24 2014
@@ -158,8 +158,8 @@
         if molecules != None:
             if displace_id == None:
                 id = '#%s' % mol_name
-            elif not search('#', displace_id):
-                id = '#%s' % mol_name
+            elif search('#', displace_id):
+                id = displace_id
             else:
                 id = '#%s%s' % (mol_name, displace_id)
 


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

This is the relax-commits mailing list
[email protected]

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

Reply via email to