read-fid #269

Merged
dominik merged 2 commits from read-fid into master 2024-04-29 16:26:10 +00:00
Showing only changes of commit 7a851191d9 - Show all commits

View File

@ -204,6 +204,10 @@ class QAsciiReader(QtWidgets.QDialog, Ui_ascii_reader):
except ValueError: except ValueError:
y_err = None y_err = None
mode = self.buttonGroup.checkedButton().text()
if mode != 'Points':
y_err = None
col_header = None col_header = None
if self.column_checkBox.isChecked(): if self.column_checkBox.isChecked():
col_header = [] col_header = []
@ -221,7 +225,7 @@ class QAsciiReader(QtWidgets.QDialog, Ui_ascii_reader):
x=x, x=x,
y=y, y=y,
yerr=y_err, yerr=y_err,
mode=self.buttonGroup.checkedButton().text(), mode=mode,
col_names=col_header, col_names=col_header,
num_value=self.get_numerical_value(), num_value=self.get_numerical_value(),
) )