Author: bugman
Date: Thu Jan 15 17:14:52 2009
New Revision: 8479
URL: http://svn.gna.org/viewcvs/relax?rev=8479&view=rev
Log:
Modified the load_spins() function to use the new num_models() and
num_molecules() methods.
Modified:
branches/multi_structure/generic_fns/structure/main.py
Modified: branches/multi_structure/generic_fns/structure/main.py
URL:
http://svn.gna.org/viewcvs/relax/branches/multi_structure/generic_fns/structure/main.py?rev=8479&r1=8478&r2=8479&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/main.py (original)
+++ branches/multi_structure/generic_fns/structure/main.py Thu Jan 15 17:14:52
2009
@@ -65,7 +65,7 @@
cdp = pipes.get_pipe()
# Test if the structure exists.
- if not hasattr(cdp, 'structure') or not cdp.structure.num > 0:
+ if not hasattr(cdp, 'structure') or not cdp.structure.num_models() or not
cdp.structure.num_molecules():
raise RelaxNoPdbError
# Print out.
_______________________________________________
relax (http://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