We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a6a337 + 16dae79 commit af93701Copy full SHA for af93701
bids-validator/validators/bids/checkDatasetDescription.js
@@ -49,7 +49,7 @@ const checkAuthorField = authors => {
49
if (authors.length == 1) {
50
const author = authors[0]
51
// check the number of commas in the single author field
52
- if (author.split(',').length <= 2) {
+ if (typeof author == 'string' && author.split(',').length <= 2) {
53
// if there is one or less comma in the author field,
54
// we suspect that the curator has not listed everyone involved
55
issues.push(new Issue({ code: 102, evidence: author }))
0 commit comments