Describe the bug
When tring to subtract the same dataset in the Data Operation tool, pressing the compute button will throw an error. The preview is loaded, but it shows an empty plot. The new output dataset is created normally.
The error is:
Traceback (most recent call last): File "sas\qtgui\Calculators\DataOperationUtilityPanel.py", line 147, in onCompute File "sas\qtgui\Calculators\DataOperationUtilityPanel.py", line 430, in updatePlot File "sas\qtgui\Plotting\Plotter.py", line 305, in plot File "matplotlib\axes\_base.py", line 3707, in set_xbound File "matplotlib\axes\_base.py", line 3828, in set_xlim File "matplotlib\axis.py", line 1216, in _set_lim File "matplotlib\axes\_base.py", line 3749, in _validate_converted_limits ValueError: Axis limits cannot be NaN or Inf
To Reproduce
Steps to reproduce the behavior:
- Go to Data Operation tool
- Select the same dataset for Data1 and Data2
- Select the subtraction operator and then click the "Compute" button
- See error
Expected behavior
I would probably expect some warning in the log explorer instead of the raw error.
Screenshots
SasView version (please complete the following information):
Operating system (please complete the following information):
Installation method (please complete the following information):
- Installed: Windows installer
Additional context
Add any other context about the problem here.
Describe the bug
When tring to subtract the same dataset in the Data Operation tool, pressing the compute button will throw an error. The preview is loaded, but it shows an empty plot. The new output dataset is created normally.
The error is:
Traceback (most recent call last): File "sas\qtgui\Calculators\DataOperationUtilityPanel.py", line 147, in onCompute File "sas\qtgui\Calculators\DataOperationUtilityPanel.py", line 430, in updatePlot File "sas\qtgui\Plotting\Plotter.py", line 305, in plot File "matplotlib\axes\_base.py", line 3707, in set_xbound File "matplotlib\axes\_base.py", line 3828, in set_xlim File "matplotlib\axis.py", line 1216, in _set_lim File "matplotlib\axes\_base.py", line 3749, in _validate_converted_limits ValueError: Axis limits cannot be NaN or InfTo Reproduce
Steps to reproduce the behavior:
Expected behavior
I would probably expect some warning in the log explorer instead of the raw error.
Screenshots
SasView version (please complete the following information):
Operating system (please complete the following information):
Installation method (please complete the following information):
Additional context
Add any other context about the problem here.