Author: bugman
Date: Thu Jan 15 17:09:10 2009
New Revision: 8476

URL: http://svn.gna.org/viewcvs/relax?rev=8476&view=rev
Log:
Bug fix for an infinite loop in the structure loading.


Modified:
    branches/multi_structure/generic_fns/structure/scientific.py

Modified: branches/multi_structure/generic_fns/structure/scientific.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/multi_structure/generic_fns/structure/scientific.py?rev=8476&r1=8475&r2=8476&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/scientific.py (original)
+++ branches/multi_structure/generic_fns/structure/scientific.py Thu Jan 15 
17:09:10 2009
@@ -586,7 +586,7 @@
         while 1:
             # Only load the desired model.
             if read_model and model_num not in read_model:
-                continue
+                break
 
             # Load the PDB file.
             model = Scientific.IO.PDB.Structure(file_path, model_num)


_______________________________________________
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

Reply via email to