mailr9204 - /1.3/specific_fns/setup.py


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

Header


Content

Posted by edward on July 13, 2009 - 15:17:
Author: bugman
Date: Mon Jul 13 15:17:34 2009
New Revision: 9204

URL: http://svn.gna.org/viewcvs/relax?rev=9204&view=rev
Log:
Bug fixes for the get_specific_fn() function.


Modified:
    1.3/specific_fns/setup.py

Modified: 1.3/specific_fns/setup.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/setup.py?rev=9204&r1=9203&r2=9204&view=diff
==============================================================================
--- 1.3/specific_fns/setup.py (original)
+++ 1.3/specific_fns/setup.py Mon Jul 13 15:17:34 2009
@@ -133,7 +133,7 @@
 
         # Molmol macro creation.
         if eqi == 'molmol_macro':
-            function = inst.molmol.macro
+            function = inst.molmol_macro
 
         # Number of instances.
         if eqi == 'num_instances':
@@ -240,7 +240,7 @@
         #    function = inst.write_xml_results
 
     # Catch if the function is missing.
-    except AttributeError:
+    except NameError:
         function = None
 
     # Raise an error if the function doesn't exist.




Related Messages


Powered by MHonArc, Updated Mon Jul 13 15:20:04 2009