Skip to content
Snippets Groups Projects
Commit 8aa6931e authored by Martin Killenberg's avatar Martin Killenberg
Browse files

Fix measurement file path.

- was introduced in 538a31d5
- solves #11216
parent 46aa59b9
No related branches found
No related tags found
No related merge requests found
...@@ -103,7 +103,8 @@ class TestStandMainWindow(QMainWindow): ...@@ -103,7 +103,8 @@ class TestStandMainWindow(QMainWindow):
elif self.measurementFileButton.isChecked(): elif self.measurementFileButton.isChecked():
try: try:
n_measurements = meas.perform_measurements(self.measurementFile.text()) n_measurements = meas.perform_measurements(os.path.join(self.start_dir,
self.measurementFile.text()))
prototype.plot_output(output_basename, range(n_measurements), True, output_basename) prototype.plot_output(output_basename, range(n_measurements), True, output_basename)
except FileNotFoundError as e: except FileNotFoundError as e:
QtWidgets.QMessageBox.warning(self, 'Warning', str(e)) QtWidgets.QMessageBox.warning(self, 'Warning', str(e))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment