Opened 8 years ago

Last modified 8 years ago

#706 closed defect

testing custom models - issues? — at Version 1

Reported by: richardh Owned by: pkienzle
Priority: minor Milestone: SasView 4.1.0
Component: SasView Keywords:
Cc: Work Package: SasView Bug Fixing

Description (last modified by butler)

Trying to follow manual "Writing a plugin model" to add a model (actually a needed reparametrisation of hollow_cylinder, see #675)

Please make the "info" box on "check model" results larger, as I had to copy & paste the output elsewhere to make sense of it.

After successful compile, is there a bug in:

run_one("c:/users/rkh98/.sasview/plugin_models/hollow_cylinder_new.py")
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "C:\stfc\sasview4\sasmodels\sasmodels\model_test.py", line 293, in run_one
    if not suite._tests[0].info.tests:
IndexError: list index out of range

or was it an issue with my new model?

If you don't have openCL then the default "main()" test fails, could say how to get around this. I can get it to work with the openMP version:

main("-single!","-double!", "c:/users/rkh98/.sasview/plugin_models/hollow_cylinder_new.py")

Would be useful if manual said that ctrl/uparrow gets previous line back in python shell.

Change History (1)

comment:1 Changed 8 years ago by butler

  • Description modified (diff)
Note: See TracTickets for help on using tickets.