mailTrouble with sample scripts


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

Header


Content

Posted by Alexandar Hansen on September 25, 2006 - 23:27:
Hello,

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.

Alex Hansen



Related Messages


Powered by MHonArc, Updated Thu Sep 28 09:01:15 2006