-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1888 from effigies/fix/coordsystem-task
[FIX] Allow (but discourage) task, acquisition and run entities for coordsystem.json and electrodes.tsv
- Loading branch information
Showing
7 changed files
with
59 additions
and
15 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
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,34 @@ | ||
--- | ||
ElectrodeSpecificity: | ||
issue: | ||
code: EXCESSIVE_ELECTRODE_SPECIFICITY | ||
message: | | ||
Task, acquisition or run entities detected in electrodes.tsv. | ||
Electrode definitions should generally not vary within a session. | ||
Consider removing the excess entity/entities or create a new | ||
session each time electrodes are reconfigured. | ||
level: warning | ||
selectors: | ||
- suffix == 'electrodes' | ||
- extension == '.tsv' | ||
checks: | ||
- '!("task" in entities)' | ||
- '!("acquisition" in entities)' | ||
- '!("run" in entities)' | ||
|
||
CoordsystemSpecificity: | ||
issue: | ||
code: EXCESSIVE_COORDSYSTEM_SPECIFICITY | ||
message: | | ||
Task, acquisition or run entities detected in coordsystem.tsv. | ||
Coordinate systems should generally not vary within a session. | ||
Consider removing the excess entity/entities or create new | ||
sessions when multiple coordinate systems are appropriate. | ||
level: warning | ||
selectors: | ||
- suffix == 'coordsystem' | ||
- extension == '.json' | ||
checks: | ||
- '!("task" in entities)' | ||
- '!("acquisition" in entities)' | ||
- '!("run" in entities)' |
This file was deleted.
Oops, something went wrong.
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