Author: bugman Date: Sat Oct 11 23:04:36 2008 New Revision: 7616 URL: http://svn.gna.org/viewcvs/relax?rev=7616&view=rev Log: Converted the constraints flag to a bool. Modified: 1.3/prompt/palmer.py Modified: 1.3/prompt/palmer.py URL: http://svn.gna.org/viewcvs/relax/1.3/prompt/palmer.py?rev=7616&r1=7615&r2=7616&view=diff ============================================================================== --- 1.3/prompt/palmer.py (original) +++ 1.3/prompt/palmer.py Sat Oct 11 23:04:36 2008 @@ -42,7 +42,7 @@ self.__relax__ = relax - def create(self, dir=None, force=False, binary='modelfree4', diff_search='none', sims=0, sim_type='pred', trim=0, steps=20, constraints=1, heteronuc_type='15N', atom1='N', atom2='H', spin_id=None): + def create(self, dir=None, force=False, binary='modelfree4', diff_search='none', sims=0, sim_type='pred', trim=0, steps=20, constraints=True, heteronuc_type='15N', atom1='N', atom2='H', spin_id=None): """Function for creating the Modelfree4 input files. Keyword Arguments @@ -66,7 +66,7 @@ steps: See the Modelfree4 manual. constraints: A flag specifying whether the parameters should be constrained. The default - is to turn constraints on (constraints=1). + is to turn constraints on (constraints=True). heteronuc_type: A three letter string describing the heteronucleus type, ie 15N, 13C, etc.