mostly finish rewrite
This commit is contained in:
1 parent
f10eb64332
commit
ddb30d98f2
18 files changed
+2116
-2350
No files matched your search
@@ -1,3 +1,11 @@
|
||||
"""
|
||||
Filename: updateevents.py
|
||||
Description: Methods to update snirf events for FLARES
|
||||
|
||||
Author: Tyler de Zeeuw
|
||||
License: GPL-3.0
|
||||
"""
|
||||
|
||||
import os
|
||||
import json
|
||||
from enum import Enum, auto
|
||||
@@ -26,7 +34,7 @@ class UpdateEventsWindow(QWidget):
|
||||
|
||||
self.mode = mode
|
||||
self.caller = caller or self.__class__.__name__
|
||||
self.setWindowTitle("Update event markers")
|
||||
self.setWindowTitle(f"Update event markers - {APP_NAME.upper()}")
|
||||
self.resize(760, 200)
|
||||
|
||||
print("INIT MODE:", mode)
|
||||
@@ -844,6 +852,4 @@ class UpdateEventsBlazesWindow(QWidget):
|
||||
QMessageBox.information(self, "Success",
|
||||
f"Aligned {len(onsets)} events.\n(Filtered out {skipped_count} short events)")
|
||||
except Exception as e:
|
||||
QMessageBox.critical(self, "Error", f"Failed to update SNIRF file:\n{e}")
|
||||
|
||||
|
||||
QMessageBox.critical(self, "Error", f"Failed to update SNIRF file:\n{e}")
|
||||
Reference in new issue
Block a user