-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* SCHEMA: Uniformize rules.checks.dwi to use issue sub-object * SCHEMA: Drop redundant ASL rule (in MRI) * SCHEMA: Move ASL rules closer to MRI rules when sensible * SCHEMA: Conform fields with only levels property to have string values * SCHEMA: Locate fields in context object * SCHEMA: arr.length -> length(arr) * SCHEMA: Use != operator * SCHEMA: Include schema in context object * SCHEMA: Simplify null||false check to != true * SCHEMA: Rewrite all includes checks/selectors as intersects()/match() * SCHEMA: Move Units value range check into checks * SCHEMA: Conform modalities to lowercase * SCHEMA: Add datatypes array to context, check for "anat" in datatypes * MNT: Bump SCHEMA_VERSION minor
- Loading branch information
Showing
23 changed files
with
198 additions
and
305 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 |
---|---|---|
@@ -1 +1 @@ | ||
0.4.1-dev | ||
0.5.0-dev |
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 |
---|---|---|
|
@@ -13,4 +13,4 @@ PhaseSuffixDeprecated: | |
selectors: | ||
- datatype == "func" | ||
checks: | ||
- '!(suffix == "phase")' | ||
- suffix != "phase" |
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,14 @@ | ||
--- | ||
PhasePartUnits: | ||
issue: | ||
code: PHASE_UNITS | ||
message: | | ||
Phase images (with the `part-phase` entity) must have units | ||
"rad" or "arbitrary". | ||
level: error | ||
selectors: | ||
- modality == "mri" | ||
- entities.part == "phase" | ||
- '"Units" in sidecar' | ||
checks: | ||
- intersects([sidecar.Units], ["rad", "arbitrary"]) |
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.