mailr27367 - /trunk/pipe_control/structure/main.py


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

Header


Content

Posted by edward on January 29, 2015 - 18:16:
Author: bugman
Date: Thu Jan 29 18:16:04 2015
New Revision: 27367

URL: http://svn.gna.org/viewcvs/relax?rev=27367&view=rev
Log:
Bug fix for the structure.align user function.

The addition of the molecule name to the displacement ID is now correctly 
performed.


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=27367&r1=27366&r2=27367&view=diff
==============================================================================
--- trunk/pipe_control/structure/main.py        (original)
+++ trunk/pipe_control/structure/main.py        Thu Jan 29 18:16:04 2015
@@ -196,7 +196,7 @@
 
         # Add the molecule name to the displacement ID if required.
         id = curr_displace_id
-        if molecules != None:
+        if id == None or (mol_name and not search('#', id)):
             if curr_displace_id == None:
                 id = '#%s' % mol_name
             elif search('#', curr_displace_id):




Related Messages


Powered by MHonArc, Updated Thu Jan 29 18:40:01 2015