Author: bugman
Date: Sat Jan 31 11:42:52 2015
New Revision: 27416
URL: http://svn.gna.org/viewcvs/relax?rev=27416&view=rev
Log:
Fix for the structure.superimpose user function if no data pipes are supplied.
This reintroduces the pipes list construction.
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=27416&r1=27415&r2=27416&view=diff
==============================================================================
--- trunk/pipe_control/structure/main.py (original)
+++ trunk/pipe_control/structure/main.py Sat Jan 31 11:42:52 2015
@@ -1358,6 +1358,10 @@
if centre_type not in allowed:
raise RelaxError("The superimposition centre type '%s' is unknown. It
must be one of %s." % (centre_type, allowed))
+ # The data pipes to use.
+ if pipes == None:
+ pipes = [cdp_name()]
+
# Assemble the structural coordinates.
coord, ids, mol_names, res_names, res_nums, atom_names, elements =
assemble_structural_coordinates(pipes=pipes, models=models,
molecules=molecules, atom_id=atom_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