forked from IPKM/nmreval
fix point selection for values with all the same x (#190)
bugfix for issue #189; closes #189 Co-authored-by: Dominik Demuth <dominik.demuth@physik.tu-darmstadt.de> Reviewed-on: IPKM/nmreval#190
This commit is contained in:
@ -742,8 +742,10 @@ class UpperManagement(QtCore.QObject):
|
||||
new_datasets[data_i.group] = [], []
|
||||
new_x_axis, _temp = new_datasets[data_i.group]
|
||||
|
||||
new_x_axis.append(data_i.value)
|
||||
_temp.append(data_i.points(params))
|
||||
pts = data_i.points(params)
|
||||
if pts:
|
||||
new_x_axis.append(data_i.value)
|
||||
_temp.append(pts)
|
||||
|
||||
key_list = []
|
||||
for label, (new_x_axis, _temp) in new_datasets.items():
|
||||
|
Reference in New Issue
Block a user