-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* first version of database integration * debug db commit * debug paths, adjust timing for lsl * check permission of github workflow * fixing permission * fixing gh workflow permission * set permissions for file and dir * checking for paths before setting permissions * fixing permissions * another try fixing gh workflow permissions * adding time_idx to db path to resolve conflicts * refactor the database * possibility to save feature_df as csv * auto delete old example dbs * debug db handling * conditional create table in run method, delete permission adjustments for db * debug times * changed paths for dbs and db creation * clean up nm_database * resolve nm_steam file name * added typehints, added save_interval param to run * add last commit to db * Toni review * Fix db bug * - Replace spaces with underscores for freq band - Replace hyphens with underscores for re-referenced channel names * Change "folder_name" parameter for "prefix" downstream of nm.Stream * Generate unique filenames for new database files * Format and fix Ruff warnings * change default params * add simple test for nm_db write * add catch to create test folder * simplify nm_database create out_dir --------- Co-authored-by: Toni M. Brotons <[email protected]> Co-authored-by: timonmerk <[email protected]>
- Loading branch information
1 parent
01bcf70
commit 88d15aa
Showing
37 changed files
with
558 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,7 @@ coverage.xml | |
*.py,cover | ||
.hypothesis/ | ||
.pytest_cache/ | ||
/test_data | ||
|
||
# Translations | ||
*.mo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,6 +87,7 @@ | |
data=data[:, :int(sfreq*5)], | ||
out_path_root=PATH_OUT, | ||
folder_name=RUN_NAME, | ||
save_csv=True, | ||
) | ||
|
||
# %% | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.