You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,11 @@ If you would like to test individual files you can use the file specific checks
44
44
45
45
Additionally you can reformat stored errors against a new config using `validate.reformat()`
46
46
47
+
#### .bidsignore
48
+
Optionally one can include a `.bidsignore` file in the root of the dataset. This file lists patterns (compatible
49
+
with the [.gitignore syntax](https://git-scm.com/docs/gitignore)) defining files that should be ignored by the
50
+
validator. This option is useful when the validated dataset includes file types not yet supported by BIDS specification.
51
+
47
52
#### Configuration
48
53
49
54
You can configure the severity of errors by passing a json configuration file with a --c or --config flag to the command line interface or by defining a config object on the options object passed during javascript usage.
Copy file name to clipboardExpand all lines: utils/issues/list.js
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,12 @@ module.exports = {
9
9
1: {
10
10
key: 'NOT_INCLUDED',
11
11
severity: 'error',
12
-
reason: 'Files with such naming scheme are not part of BIDS specification. This error is most commonly caused by typos in file names that make them not BIDS compatible. Please consult the specification and make sure your files are named correctly. If this is not a file naming issue (for example when including files not yet covered by the BIDS specification) you can ignore this warning. Please note that derived (processed) data should be placed in /derivatives folder and source data (such as DICOMS or behavioural logs in proprietary formats) should be placed in the /sourcedata folder.'
12
+
reason: 'Files with such naming scheme are not part of BIDS specification. This error is most commonly '+
13
+
'caused by typos in file names that make them not BIDS compatible. Please consult the specification and '+
14
+
'make sure your files are named correctly. If this is not a file naming issue (for example when including '+
15
+
'files not yet covered by the BIDS specification) you should include a ".bidsignore" file in your dataset. Please '+
16
+
'note that derived (processed) data should be placed in /derivatives folder and source data (such as DICOMS '+
17
+
'or behavioural logs in proprietary formats) should be placed in the /sourcedata folder.'
0 commit comments