mail[bug #7192] Trouble with sample scripts


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

Header


Content

Posted by Alex Hansen on September 26, 2006 - 17:27:

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

                 Summary: Trouble with sample scripts
                 Project: relax
            Submitted by: viochemist
            Submitted on: Tuesday 09/26/2006 at 15:27
                Category: None
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 1.2.7
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I'm having trouble running sample scripts that involve the model selection. 
For instance, when I try to run the Full_Analysis.py, after copying
everything from /test_suite/data/model_free/S2...etc./ into the relax
directory, it fails at the end and gives me this:

relax> model_selection(method='AIC', modsel_run='aic', runs=None)
AIC model selection.
Traceback (most recent call last):
  File "relax", line 442, in ?
    Relax()
  File "relax", line 159, in __init__
    self.interpreter.run()
  File
"/local/home/viochem/Programs/Relax/relax-1.2.7/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
"/local/home/viochem/Programs/Relax/relax-1.2.7/prompt/interpreter.py", line
388, in run_script
    console.interact(intro, local, script_file, quit)
  File "/local/home/viochem/Programs/Relax/relax-
1.2.7/prompt/interpreter.py", line 340, in interact_script
    execfile(script_file, local)
  File "full_analysis.py", line 415, in ?
    Main()
  File "full_analysis.py", line 145, in __init__
    self.model_selection(run='aic', dir=self.base_dir + 'aic')
  File "full_analysis.py", line 352, in model_selection
    model_selection('AIC', run)
  File "/local/home/viochem/Programs/Relax/relax-
1.2.7/prompt/model_selection.py", line 121, in model_selection
    self.relax.generic.model_selection.select(method=method,
modsel_run=modsel_run, runs=runs)
  File "/local/home/viochem/Programs/Relax/relax-
1.2.7/generic_fns/model_selection.py", line 162, in select
    for i in xrange(self.min_instances):
TypeError: an integer is required

I've tried this with relax ver. 1.2.7 and the "repository checkout" version
that is downloaded when using svn.  Does anyone have suggestions or comments
of what I might be doing wrong?  Likely it's something obvious that I'm just
missing.







    _______________________________________________________

Reply to this item at:

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

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




Related Messages


Powered by MHonArc, Updated Sat Sep 30 12:20:44 2006