Skip to content

Commit

Permalink
Add new test for _scans.tsv
Browse files Browse the repository at this point in the history
  • Loading branch information
SetCodesToFire committed Feb 28, 2018
1 parent 1568e12 commit 3ab6d74
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/tsv.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,14 @@ describe('TSV', function(){
});
});

it("should allow _scans.tsv files with filename column", function () {
var tsv = 'header-one\tfilename\theader-three\n' +
'value-one\tvalue-two\tvalue-three';
validate.TSV.TSV(scansFile, tsv, [], function (issues) {
assert.deepEqual(issues, []);
});
});

it("should check participants listed in phenotype/*tsv and sub-ids ", function () {
var phenotypeParticipants= [{
list:
Expand Down

0 comments on commit 3ab6d74

Please sign in to comment.