mailr4500 - /branches/N_state_model/specific_fns/n_state_model.py


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

Header


Content

Posted by edward on January 08, 2008 - 17:22:
Author: bugman
Date: Tue Jan  8 17:22:29 2008
New Revision: 4500

URL: http://svn.gna.org/viewcvs/relax?rev=4500&view=rev
Log:
Switched from the call to match() to search().


Modified:
    branches/N_state_model/specific_fns/n_state_model.py

Modified: branches/N_state_model/specific_fns/n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/N_state_model/specific_fns/n_state_model.py?rev=4500&r1=4499&r2=4500&view=diff
==============================================================================
--- branches/N_state_model/specific_fns/n_state_model.py (original)
+++ branches/N_state_model/specific_fns/n_state_model.py Tue Jan  8 17:22:29 
2008
@@ -100,7 +100,7 @@
         model = N_state_model()
 
         # Setup the minimisation algorithm when constraints are present.
-        if constraints and not match('^[Gg]rid', min_algor):
+        if constraints and not search('^[Gg]rid', min_algor):
             algor = min_options[0]
         else:
             algor = min_algor




Related Messages


Powered by MHonArc, Updated Tue Jan 08 17:40:09 2008