Skip to content

Plugin Model Error #4109

Description

@krzywon

Describe the bug
A user is seeing the following error while trying to use a pure python F(Q) plugin model coupled with the hardsphere structure factor. The user set the volfrac to 0.001 to see the dilute solution and the error appeared, and continued to appear every calculation after until a new model was selected in the fit tab. Going back to the original model, and the errors were no longer thrown. It's unclear if this is specific to F(Q) models or if it applies to all plugin models that can accept a structure factor.

ERROR: Traceback (most recent call last): File "sas\qtgui\Utilities\ModelEditors\TabbedEditor\PluginDefinition.py", line 431, in eventFilter File "sas\qtgui\Utilities\ModelEditors\TabbedEditor\PluginDefinition.py", line 360, in _findParentTable TypeError: 'GuiManager' object is not callable

To Reproduce
Steps to reproduce the behavior:

  1. Create a pure python F(Q) that can be coupled with a structure factor.
  2. Calculate the model using the default parameters.
  3. Change the volume fraction to something small (say 0.0001).
  4. See the error above.
  5. Any change in the values will continue to throw this error until a new model is selected.

Expected behavior
No error should occur for values within the default limits.

SasView version (please complete the following information):

  • Version: 6.2.0 (unclear if previous versions are affected)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions