Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc backend tweaks and port codes #21

Merged
merged 8 commits into from
Nov 15, 2024
Merged

Misc backend tweaks and port codes #21

merged 8 commits into from
Nov 15, 2024

Conversation

dsuplica
Copy link
Collaborator

@dsuplica dsuplica commented Nov 15, 2024

Enhancements to data import functionality:

  • pypeline/preprocess.py: Added an overwrite parameter to the import_eeg and import_eyetracker functions to allow re-importing data if it already exists. Previously, data would always be overwritten. Now, if if overwrite is set to False it will just read the existing imported dataset. (Fixes Allow import from the local dataset #16) [1] [2].

Enhancements to visualizer features:

Code cleanup and refactoring:

  • fixed a minor bug to ensure that non-EEG channels are not bandpass filtered (pypeline/preprocess.py) [1]
  • Removed code that reorders epoch objects based on channel type as it is not exactly necessary for any functionality. (pypeline/visualizer.py) [1]

…if it already has been imported instead of overwriting (fix Allow import from the local dataset (fix #16)
…flags so they do not need to be re-entered each time (fix Visualizer: allow loading from the manual flag file if it exists #15)
Annotations (port codes and rejection reasons) are toggled by hotkeys and will continue to display on all screens until they are turned off
- let preprocess handle new imports without crashing
- fix bug in visualizer masking the wrong trials to ignore
- kep rejection and code flags off by default
@dsuplica dsuplica merged commit dc7f8de into main Nov 15, 2024
2 checks passed
@dsuplica dsuplica deleted the dataloading-fixes branch November 15, 2024 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant