Follow-up Comment #16, sr #3071 (project relax):

Help to figure out indexing of parameters in target function.

Hi Edward.
I am a little confused how to figure out how the indexing of parameters is
working.

I have added a saved state file.

And to trigger the problem:
relax 2_fit_TSMFK01.py

------ 2_fit_TSMFK01.py --------
import os
set_cwd = os.getcwd()

state.load(state='ini_setup_TSMFK01', dir=None, force=False)

#- The 'TSMFK01' model -
set_dir = os.path.join(set_cwd, 'TSMFK01')

pipe.copy(pipe_from='base pipe', pipe_to='TSMFK01', bundle_to='relax_disp')
pipe.switch(pipe_name='TSMFK01')
relax_disp.select_model(model='TSMFK01')
value.copy(pipe_from='R2eff', pipe_to='TSMFK01', param='r2eff')
grid_search(lower=None, upper=None, inc=21, constraints=True, verbosity=1)
-------------------

  File "C:WinPython27relaxrelax_disptarget_functionsrelax_disp.py", line 1059,
in func_TSMFK01
    dw = params[self.end_index[1]:self.end_index[2]]
IndexError: list index out of range









(file #18830, file #18831)
    _______________________________________________________

Additional Item Attachment:

File name: ini_setup_TSMFK01.bz2          Size:158 KB
File name: 2_fit_TSMFK01.py               Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/support/?3071>

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


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
relax-devel@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel

Reply via email to