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

GSC not drawing the structure #2734

Closed
smk78 opened this issue Jan 17, 2024 · 1 comment
Closed

GSC not drawing the structure #2734

smk78 opened this issue Jan 17, 2024 · 1 comment
Labels
Critical High priority Defect Bug or undesirable behaviour Scattering Calculator Tool Concerns scattering calculator

Comments

@smk78
Copy link
Contributor

smk78 commented Jan 17, 2024

Describe the bug
Testing GSC in 6.0.0a1 Nightly Build 121 from main on W10/x64.

PDB file loads, but on clicking 'Draw' get the error:

2024-01-17 19:35:53,716 : ERROR : sas.qtgui.Perspectives.Fitting.FittingWidget (FittingWidget.py:173) :: Traceback (most recent call last):
  File "sas\qtgui\Calculators\GenericScatteringCalculator.py", line 128, in <lambda>
  File "sas\qtgui\Calculators\GenericScatteringCalculator.py", line 1546, in plot3d
  File "sas\qtgui\Calculators\GenericScatteringCalculator.py", line 1799, in __init__
  File "sas\qtgui\Calculators\GenericScatteringCalculator.py", line 1599, 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!

To Reproduce
Run SasView
Tools > Generic Scattering Calculator
Load a PDB file as Nuclear Data
Click Draw (not compute)

Expected behavior
The structure of the object described by the coordinate data should be drawn.

Additional context
This is a bug introduced since 5.0.6

@smk78 smk78 added Critical High priority Scattering Calculator Tool Concerns scattering calculator Defect Bug or undesirable behaviour labels Jan 17, 2024
@butlerpd
Copy link
Member

Oops ... #2818 was a duplicate of this and has since been closed as fixed by @rozyczko in PR #2824. So closing this ticket. @smk78, if this is a different bug feel free to reopen but note the difference with #2818 please.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Critical High priority Defect Bug or undesirable behaviour Scattering Calculator Tool Concerns scattering calculator
Projects
None yet
Development

No branches or pull requests

2 participants