When adjusting the threshold, the terminal shows an error:
Traceback (most recent call last):
File "C:\Users\QC109_3\iquip\iquip\apps\dataviewer.py", line 1470, in setThreshold
data = self.dataPoint(self.index)
^^^^^^^^^^
AttributeError: 'DataViewerApp' object has no attribute 'index'
It does not stop the program though.
Expected behavior
The error must not occur.
To Reproduce
Steps to reproduce the behavior:
Open iquip dataviewer
Open a dataset in either realtime or remote mode
Adjust the threshold
See the error in the terminal
Expected causes and correction methods
As the error message indicates, DataViewerApp does not have an attribute index but dataPointIndex.
Changing the line to data = self.dataPoint(self.dataPointIndex) would fix the problem.
Describe the bug
When adjusting the threshold, the terminal shows an error:
It does not stop the program though.
Expected behavior
The error must not occur.
To Reproduce
Steps to reproduce the behavior:
Expected causes and correction methods
As the error message indicates,
DataViewerApp
does not have an attributeindex
butdataPointIndex
. Changing the line todata = self.dataPoint(self.dataPointIndex)
would fix the problem.