Skip to content

Commit a2c8065

Browse files
committed
fix some tests in octave
1 parent fc4eaa6 commit a2c8065

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

src/batches/preproc/setBatchCoregistrationFmap.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
error('Only one file expected');
5858
end
5959

60-
if strfind(metadata.IntendedFor, opt.taskName)
60+
if any(strfind(metadata.IntendedFor, opt.taskName))
6161

6262
otherImages = cell(2, 1);
6363
otherImages(2) = bids.query(BIDS, 'data', filter);

src/messages/createUnorderedList.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
elseif isstruct(list)
3434

35-
output = [];
35+
output = '';
3636
fields = fieldnames(list);
3737

3838
for i = 1:numel(fields)

src/subject_level/createAndReturnCounfoundMatFile.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
% (C) Copyright 2019 bidspm developers
2828

29+
% TODO handle when there are more than one confound file
2930
if iscell(tsvFile)
3031
tsvFile = tsvFile{1};
3132
end

tests/tests_workflows/stats/test_bidsModelSelection.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ function test_bidsModelSelection_basic()
2424
'models', ...
2525
'model-vismotionGlobalSignal_smdl.json')};
2626

27+
opt.verbosity = 3;
2728
% WHEN
2829
matlabbatch = bidsModelSelection(opt);
2930

0 commit comments

Comments
 (0)