Skip to content

Commit

Permalink
Merge pull request #1110 from sappelhoff/ppg
Browse files Browse the repository at this point in the history
add PPG as accepted ch type
  • Loading branch information
effigies authored Nov 10, 2020
2 parents 474ede9 + 0f2f167 commit 37bdcd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bids-validator/validators/tsv/checkTypeCol.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ const Issue = require('../../utils').issues.Issue

// allowable 'type' values from the BIDS specification
const allowedMEEGTypes = ['EEG', 'ECOG', 'SEEG', 'DBS', 'PD', 'OTHER', // (i)EEG
'EOG', 'ECG', 'EMG', 'EYEGAZE', 'GSR', 'HEOG', 'MISC', 'PUPIL', 'RESP', 'TEMP', 'VEOG', // physio
'EOG', 'ECG', 'EMG', 'EYEGAZE', 'GSR', 'HEOG', 'MISC', 'PUPIL', 'RESP', 'TEMP', 'VEOG', 'PPG', // physio
'AUDIO', 'REF', 'SYSCLOCK', 'TRIG', 'ADC', 'DAC', // system
'MEGMAG', 'MEGGRADAXIAL', 'MEGGRADPLANAR', 'MEGREFMAG', 'MEGREFGRADAXIAL', 'MEGREFGRADPLANAR', 'MEGOTHER', 'HLU', 'FITERR' // MEG
]


/**
* Checks type column in an ephys _channels.tsv file to
* ensure its values are only in an acceptable set of values and fires off a
* ensure its values are only in an acceptable set of values and fires off a
* warning to the user if the characters are not all upper-case.
* @param {string[]} rows - Each row of a tsv file to be checked.
* @param {Object} file - File of rows being checked, used for error message if
Expand Down

0 comments on commit 37bdcd5

Please sign in to comment.