Skip to content
Snippets Groups Projects
Commit 1ae02e65 authored by Robert Roos's avatar Robert Roos
Browse files

Merged in bugfix/export (pull request #2)

Fixed self.data check in file export
parents 5451d090 c5bf95c4
No related branches found
No related tags found
No related merge requests found
......@@ -222,7 +222,8 @@ class MainWindow(QMainWindow):
file_format = file_format.lower()
if np.size(self.data, 0) < 3:
# Abort export if the #channels (rows in self.data) is 0
if np.size(self.data, 0) == 0:
message = QMessageBox()
QMessageBox.information(message, 'Saving data',
'No data recorded yet', QMessageBox.Ok)
......
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