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):
_______________________________________________
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