Author: bugman Date: Sun Jan 13 17:37:05 2008 New Revision: 4678 URL: http://svn.gna.org/viewcvs/relax?rev=4678&view=rev Log: Imported the specific_fns.model_free_obj object. Modified: 1.3/prompt/model_free.py Modified: 1.3/prompt/model_free.py URL: http://svn.gna.org/viewcvs/relax/1.3/prompt/model_free.py?rev=4678&r1=4677&r2=4678&view=diff ============================================================================== --- 1.3/prompt/model_free.py (original) +++ 1.3/prompt/model_free.py Sun Jan 13 17:37:05 2008 @@ -26,6 +26,7 @@ # relax module imports. import help from relax_errors import RelaxIntError, RelaxListError, RelaxListStrError, RelaxNoneStrError, RelaxStrError +from specific_fns import model_free_obj class Model_free: @@ -155,7 +156,7 @@ raise RelaxNoneStrError, ('spin identification string', spin_id) # Execute the functional code. - model_free.create_model(model=model, equation=equation, params=params, spin_id=spin_id) + model_free_obj.create_model(model=model, equation=equation, params=params, spin_id=spin_id) def delete(self): @@ -175,7 +176,7 @@ print text # Execute the functional code. - model_free.delete() + model_free_obj.delete() def remove_tm(self, spin_id=None): @@ -215,7 +216,7 @@ raise RelaxNoneStrError, ('spin identification string', spin_id) # Execute the functional code. - model_free.remove_tm(spin_id=spin_id) + model_free_obj.remove_tm(spin_id=spin_id) def select_model(self, model=None, spin_id=None): @@ -368,4 +369,4 @@ raise RelaxNoneStrError, ('spin identification string', spin_id) # Execute the functional code. - model_free.select_model(model=model, spin_id=spin_id) + model_free_obj.select_model(model=model, spin_id=spin_id)