mailr4395 - /1.3/prompt/structure.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on January 06, 2008 - 12:36:
Author: bugman
Date: Sun Jan  6 12:36:58 2008
New Revision: 4395

URL: http://svn.gna.org/viewcvs/relax?rev=4395&view=rev
Log:
Bug fix for the structure.read_pdb() user function.

The incorrect RelaxError was being raised for the model argument.


Modified:
    1.3/prompt/structure.py

Modified: 1.3/prompt/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/prompt/structure.py?rev=4395&r1=4394&r2=4395&view=diff
==============================================================================
--- 1.3/prompt/structure.py (original)
+++ 1.3/prompt/structure.py Sun Jan  6 12:36:58 2008
@@ -293,7 +293,7 @@
 
         # The model argument.
         if model != None and type(model) != int:
-            raise RelaxIntError, ('model', model)
+            raise RelaxNoneIntError, ('model', model)
 
         # The load sequence argument.
         if type(load_seq) != int or (load_seq != 0 and load_seq != 1):




Related Messages


Powered by MHonArc, Updated Sun Jan 06 12:40:06 2008