mail[bug #7863] model_selection('AIC', run, runs=self.runs) in the script full_analysis.py shoots error


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

Header


Content

Posted by Sébastien Morin on November 27, 2006 - 18:52:

URL:
  <http://gna.org/bugs/?7863>

                 Summary: model_selection('AIC', run, runs=self.runs) in the
script full_analysis.py shoots error
                 Project: relax
            Submitted by: semor
            Submitted on: Monday 11/27/2006 at 17:52
                Category: relax's source code
                Severity: 4 - Important
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: Repository: 1.2 line
        Operating System: GNU/Linux

    _______________________________________________________

Details:

From the 1.2 line at revision 2887... 

When attempting to make the final optimization (with the full_analysis.py
script), I get an error (after a few seconds) which seems to arise from the
definition of the run data in the file generic_fns/model_selection.py :


Traceback (most recent call last):
  File "/usr/local/bin/relax", line 454, in ?
    Relax()
  File "/usr/local/bin/relax", line 166, in __init__
    self.interpreter.run()
  File "/usr/local/packages/relax/prompt/interpreter.py", line 213, in run
    run_script(intro=self.relax.intro_string, local=self.local,
script_file=self.relax.script_file, quit=1)
  File "/usr/local/packages/relax/prompt/interpreter.py", line 388, in
run_script
    console.interact(intro, local, script_file, quit)
  File "/usr/local/packages/relax/prompt/interpreter.py", line 340, in
interact_script
    execfile(script_file, local)
  File "./full_analysis_SEMOR_FINAL_200_auto_check.py", line 564, in ?
    Main(self.relax)
  File "./full_analysis_SEMOR_FINAL_200_auto_check.py", line 282, in
__init__
    self.model_selection(run='final', write_flag=0)
  File "./full_analysis_SEMOR_FINAL_200_auto_check.py", line 496, in
model_selection
    model_selection('AIC', run, runs=self.runs)
AttributeError: Main instance has no attribute 'runs'





    _______________________________________________________

Reply to this item at:

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

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




Related Messages


Powered by MHonArc, Updated Thu Nov 30 09:20:18 2006