Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Draw throws an error in the Generic Scattering Calculator in 6.0.0a1 #2818

Closed
butlerpd opened this issue Mar 11, 2024 · 1 comment
Closed
Assignees
Labels
Blocker Prevents a different issue from being resolved

Comments

@butlerpd
Copy link
Member

Describe the bug
Using installers from PR based off of 6.0.0a1 (PR #2565 and #2785 so far) attempting to render the real space view of the loaded structure vile (vtk or pdb, magnetic or not) by clicking the draw button thows the following error

Traceback (most recent call last): File "sas\qtgui\Calculators\GenericScatteringCalculator.py", line 126, in File "sas\qtgui\Calculators\GenericScatteringCalculator.py", line 1544, in plot3d File "sas\qtgui\Calculators\GenericScatteringCalculator.py", line 1797, in __init__ File "sas\qtgui\Calculators\GenericScatteringCalculator.py", line 1597, in __init__ File "sas\qtgui\Plotting\PlotterBase.py", line 30, in __init__ RuntimeError: You can't initialize an PySide6.QtWidgets.QWidget object in class Plotter3D twice!

Note that 5.0.6 works as expected

To Reproduce
Steps to reproduce the behavior:

  1. load the generic scattering calculator tool
  2. Load a data file (nuclear or magnetic - I tried pdb, oomf and vtk)
  3. Once the file has loaded click draw
  4. See error

Expected behavior
The behavior should be as in 5.0.6

SasView version (please complete the following information):

  • Version: release_6.0.0 branch

Operating system (please complete the following information):

  • OS: Windows 10

Additional context

@butlerpd butlerpd added the Blocker Prevents a different issue from being resolved label Mar 11, 2024
@rozyczko rozyczko self-assigned this Mar 15, 2024
@butlerpd
Copy link
Member Author

butlerpd commented May 6, 2024

issue was addressed by now merged PR #2824 so closing

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Blocker Prevents a different issue from being resolved
Projects
None yet
Development

No branches or pull requests

2 participants