After some trial and error, I got that a valid parameters set is the following:
My mistake,Low is defined as "0.05", and not as "0.5"Regards,IgnacioOn Fri, Mar 22, 2013 at 5:45 PM, Ignacio Ibarra <ibarra.ignacio@gmail.com> wrote:
Hello,When I am defining a distance restraint between heavy atoms through an open spline restraint (open=True) and using restraints.add(), MODELLER writes to console the following message:"_modeller.ModellerError: mod_res_688E> Incorrect range for open cubic spline 2085,dimension 1: xlow ( 0.0500) should be less thanxhigh ( 5.0500), and the range should be equal to thedelta ( 0.1200) times the modality ( 50) minus 1"the code line that generates this error is the following:rsr.add(forms.spline(physical.lennard_jones, features.distance(*atoms), open=True, low=first_step, high=last_step, delta=0.12, lowderiv=0, highderiv=0, values=values, use_array=True))low = 0.5high = 5.05len(values) = 50I guess that range was calculated internally as xhigh - xmin (5). Given that delta*modality - 1 = 5, I can't guess if the message is an error or not.Thanks for any adviceRegards,Ignacio Ibarra