-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Labels
BugIssues and pull requests that are regressions or would be considered a bug by users (e.g. crashing)Issues and pull requests that are regressions or would be considered a bug by users (e.g. crashing)ISIS: LSSIssue and pull requests relating to SANS and Reflectometry (Large Scale Structures) at ISISIssue and pull requests relating to SANS and Reflectometry (Large Scale Structures) at ISISReflectometryIssues and pull requests related to reflectometryIssues and pull requests related to reflectometry
Description
Found in Manual testing: #40692
This error seemingly happens when you undock the slice viewer. I've been able to reproduce it consistently on windows and macos but I'm not sure what is causing this, there is also a second error when loading the test data (may be related?).
Also reproducible in 6.14, so not a regression.
Error message:
Traceback (most recent call last):
File "/Users/datanes/miniforge3/envs/mantid-developer/lib/python3.11/site-packages/matplotlib/cbook.py", line 298, in process
func(*args, **kwargs)
File "/Users/datanes/mantid-mac/mantid/Framework/PythonInterface/mantid/plots/resampling_image/samplingimage.py", line 93, in _resize
xbins, ybins = self._calculate_bins_from_extent()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/datanes/mantid-mac/mantid/Framework/PythonInterface/mantid/plots/resampling_image/samplingimage.py", line 98, in _calculate_bins_from_extent
bbox = self.get_window_extent().transformed(self.axes.get_figure().dpi_scale_trans.inverted())
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_figure'
To Reproduce
- Open Reflectometry GUI
- Navigate to
Reduction Previewtab. - On
Runfield type:INTER45455and push the buttonLoad. It should load the run on the slice viewer docked widget. - Inmediately push again the
Loadbutton. - Try to undock the slice viewer widget window (top left corner)
- Error message.
Additionally, when loading the data (Inter45455) I always seem to get this error :
Error in execution of algorithm ReflectometryReductionOneAuto:
Instrument: Detector with ID 1001 not found. search object ''
Error in execution of algorithm ReflectometryISISLoadAndProcess:
Instrument: Detector with ID 1001 not found. search object ''
at line 110 in '/Users/datanes/mantid-mac/mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/ReflectometryISISLoadAndProcess.py'
caused by line 653 in '/Users/datanes/mantid-mac/mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/ReflectometryISISLoadAndProcess.py'
Error starting batch algorithm
Error performing reduction: Instrument: Detector with ID 1001 not found. search object ''
at line 110 in '/Users/datanes/mantid-mac/mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/ReflectometryISISLoadAndProcess.py'
caused by line 653 in '/Users/datanes/mantid-mac/mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/ReflectometryISISLoadAndProcess.py'
Although this doesn't affect any further action on the interface.
Additionally:
Expected behavior
Screenshots
Platform/Version (please complete the following information):
- OS: Windows, macos
- OS Version:
- Mantid Version 6.14, nightly
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugIssues and pull requests that are regressions or would be considered a bug by users (e.g. crashing)Issues and pull requests that are regressions or would be considered a bug by users (e.g. crashing)ISIS: LSSIssue and pull requests relating to SANS and Reflectometry (Large Scale Structures) at ISISIssue and pull requests relating to SANS and Reflectometry (Large Scale Structures) at ISISReflectometryIssues and pull requests related to reflectometryIssues and pull requests related to reflectometry