-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: Re-add run entity to electrodes.tsv (#1722)
* FIX: Re-add run entity to electrodes.tsv * [ENH] Recommend electrodes usage/require inheritance * SCHEMA: Add check to warn against excessive electrode specificity
- Loading branch information
Showing
4 changed files
with
28 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
ElectrodeSpecificity: | ||
issue: | ||
code: EXCESSIVE_ELECTRODE_SPECIFICITY | ||
message: | | ||
Run or acquisition entities detected in electrodes.tsv. | ||
Electrode definitions should generally not vary within a session. | ||
Consider creating a new session each time electrodes are reconfigured. | ||
level: warning | ||
selectors: | ||
- suffix == 'electrodes' | ||
- extension == '.tsv' | ||
checks: | ||
- '!("run" in entities)' | ||
- '!("acquisition" in entities)' |
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