mail[bug #11004] Model elimination and Monte Carlo simultion elimination - ZeroDivisionError


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

Header


Content

Posted by Edward d Auvergne on April 03, 2008 - 10:25:

Follow-up Comment #5, bug #11004 (project relax):

Oh, for reference without going to the emails, the backtrace from the Monte
Carlo failure is:

However, I also tried the some local_tm models and got an error with model
tm2 (after the command "relax> monte_carlo.error_analysis(run='tm2',
prune=0.0)") which is different from the error encountered in bug 11004.

=============================================================

  File "/home/semor/packages/relax-1.2/relax", line 454, in ?
    Relax()
  File "/home/semor/packages/relax-1.2/relax", line 166, in __init__
    self.interpreter.run()
  File "/home/semor/packages/relax-1.2/prompt/interpreter.py", line 216, in
run
    run_script(intro=self.relax.intro_string, local=self.local,
script_file=self.relax.script_file, quit=1)
  File "/home/semor/packages/relax-1.2/prompt/interpreter.py", line 391, in
run_script
    console.interact(intro, local, script_file, quit)
  File "/home/semor/packages/relax-1.2/prompt/interpreter.py", line 343, in
interact_script
    execfile(script_file, local)
  File "./model2_tm", line 42, in ?
    monte_carlo.error_analysis(name)
  File "/home/semor/packages/relax-1.2/prompt/monte_carlo.py", line 145, in
error_analysis
    self.__relax__.generic.monte_carlo.error_analysis(run=run, prune=prune)
  File "/home/semor/packages/relax-1.2/generic_fns/monte_carlo.py", line 240,
in error_analysis
    sd = sqrt(sd / (float(n) - 1.0))
ZeroDivisionError: float division

    _______________________________________________________

Reply to this item at:

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

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




Related Messages


Powered by MHonArc, Updated Thu Apr 03 18:42:22 2008