mail[bug #12407] Model elimination does nothing for model-free models.


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

Header


Content

Posted by Edward d Auvergne on October 05, 2008 - 12:24:

Follow-up Comment #4, bug #12407 (project relax):

For the test_tm_51ns() system test, which checks the elimination of a model
with local tm > 50 ns, the last lines of print out including the traceback is
now:


relax> model_free.select_model(model='tm4', spin_id=None)

relax> value.set(val=5.1e-08, param='local_tm', spin_id=':15')

relax> eliminate(function=None, args=None)
Traceback (most recent call last):
  File "./relax", line 408, in <module>
    Relax()
  File "./relax", line 125, in __init__
    self.interpreter.run(self.script_file)
  File "/data/relax/relax-1.3/prompt/interpreter.py", line 270, in run
    return run_script(intro=self.__intro_string, local=self.local,
script_file=script_file, quit=self.__quit_flag,
show_script=self.__show_script, raise_relax_error=self.__raise_relax_error)
  File "/data/relax/relax-1.3/prompt/interpreter.py", line 531, in
run_script
    return console.interact(intro, local, script_file, quit,
show_script=show_script, raise_relax_error=raise_relax_error)
  File "/data/relax/relax-1.3/prompt/interpreter.py", line 427, in
interact_script
    execfile(script_file, local)
  File "test", line 6, in <module>
    eliminate(function=None, args=None)
  File "/data/relax/relax-1.3/prompt/eliminate.py", line 90, in eliminate
    eliminate.eliminate(function=function, args=args)
  File "/data/relax/relax-1.3/generic_fns/eliminate.py", line 92, in
eliminate
    if eliminate(names[j], values[j], model_info, args):
  File "/data/relax/relax-1.3/specific_fns/model_free/main.py", line 1210, in
eliminate
    if match('t[efs]', name) and value >= c2 * tm:
TypeError: unsupported operand type(s) for *: 'float' and 'NoneType'

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?12407>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/




Related Messages


Powered by MHonArc, Updated Sun Oct 05 13:00:10 2008