Skip to content

Commit b0db59c

Browse files
committed
fix dataset non existing on octave
1 parent 627016a commit b0db59c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/readAndFilterLogfile.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,12 @@
6565
end
6666

6767
% Convert the structure to dataset
68-
outputFiltered = struct2dataset(output);
68+
try
69+
outputFiltered = struct2dataset(output);
70+
catch
71+
% dataset not yet supported by octave
72+
outputFiltered = output;
73+
end
6974

7075
if saveOutputTsv
7176

src/subfun/utilsForTests/setUp.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
% (C) Copyright 2020 CPP_BIDS developers
2+
13
function [cfg, logFile] = setUp()
24

35
outputDir = fullfile(fileparts(mfilename('fullpath')), 'output');

0 commit comments

Comments
 (0)