Author: bugman
Date: Fri Sep 12 16:55:53 2014
New Revision: 25799
URL: http://svn.gna.org/viewcvs/relax?rev=25799&view=rev
Log:
Fix for the model argument for the frame_order.pdb_model user function.
The deletion of structural models for the Monte Carlo simulations in the
average domain position
representation now only happen if more than one model exists.
Modified:
branches/frame_order_cleanup/specific_analyses/frame_order/geometric.py
Modified:
branches/frame_order_cleanup/specific_analyses/frame_order/geometric.py
URL:
http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/specific_analyses/frame_order/geometric.py?rev=25799&r1=25798&r2=25799&view=diff
==============================================================================
--- branches/frame_order_cleanup/specific_analyses/frame_order/geometric.py
(original)
+++ branches/frame_order_cleanup/specific_analyses/frame_order/geometric.py
Fri Sep 12 16:55:53 2014
@@ -591,7 +591,7 @@
structures.append(deepcopy(cdp.structure))
# Delete all but the chosen model for the simulations.
- if hasattr(cdp, 'sim_number'):
+ if hasattr(cdp, 'sim_number') and len(structures[-1].structural_data) > 1:
# Determine the models to delete.
to_delete = []
for model_cont in structures[-1].model_loop():
_______________________________________________
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