Sector slicer doesn't update properly when parameters changed #2726
Labels
Being Tested
When an issue is done but not ready to be closed.
Defect
Bug or undesirable behaviour
Slicers
Concerns slicer functionality
Describe the bug
Trying to update the number of bins used in the sector slicer for 2D data gives an error and does not function.
Traceback (most recent call last): File "C:\Users\Jack\GitRepos\sasview\src\sas\qtgui\Plotting\SlicerModel.py", line 66, in setParamsFromModelItem self.setParams(params) File "C:\Users\Jack\GitRepos\sasview\src\sas\qtgui\Plotting\Slicers\SectorSlicer.py", line 275, in setParams self.right_line.update(phi=phi, delta=None, mline=self.main_line, File "C:\Users\Jack\GitRepos\sasview\src\sas\qtgui\Plotting\Slicers\SectorSlicer.py", line 384, in update self.theta = mline.alpha + self.phi AttributeError: 'LineInteractor' object has no attribute 'alpha'
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The number of bins used for the slicer should update
SasView version:
Operating system:
The text was updated successfully, but these errors were encountered: