Skip to content

Commit 866d9e2

Browse files
committed
mh_fix
1 parent 1ebaee6 commit 866d9e2

28 files changed

+445
-444
lines changed

src/checkCFG.m

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
% (C) Copyright 2020 CPP_BIDS developers
22

33
function cfg = checkCFG(cfg)
4-
%
5-
% Short description of what the function does goes here.
6-
%
7-
% USAGE::
8-
%
9-
% [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3])
10-
%
11-
% :param argin1: (dimension) obligatory argument. Lorem ipsum dolor sit amet,
12-
% consectetur adipiscing elit. Ut congue nec est ac lacinia.
13-
% :type argin1: type
14-
% :param argin2: optional argument and its default value. And some of the
15-
% options can be shown in litteral like ``this`` or ``that``.
16-
% :type argin2: string
17-
% :param argin3: (dimension) optional argument
18-
% :type argin3: integer
19-
%
20-
% :returns: - :argout1: (type) (dimension)
21-
% - :argout2: (type) (dimension)
22-
%
4+
%
5+
% Short description of what the function does goes here.
6+
%
7+
% USAGE::
8+
%
9+
% [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3])
10+
%
11+
% :param argin1: (dimension) obligatory argument. Lorem ipsum dolor sit amet,
12+
% consectetur adipiscing elit. Ut congue nec est ac lacinia.
13+
% :type argin1: type
14+
% :param argin2: optional argument and its default value. And some of the
15+
% options can be shown in litteral like ``this`` or ``that``.
16+
% :type argin2: string
17+
% :param argin3: (dimension) optional argument
18+
% :type argin3: integer
19+
%
20+
% :returns: - :argout1: (type) (dimension)
21+
% - :argout2: (type) (dimension)
22+
%
2323
% cfg = checkCFG(cfg)
2424
%
2525
% check that we have all the fields that we need in the experiment parameters

src/convertSourceToRaw.m

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
% (C) Copyright 2020 CPP_BIDS developers
22

33
function convertSourceToRaw(cfg)
4-
%
5-
% Short description of what the function does goes here.
6-
%
7-
% USAGE::
8-
%
9-
% [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3])
10-
%
11-
% :param argin1: (dimension) obligatory argument. Lorem ipsum dolor sit amet,
12-
% consectetur adipiscing elit. Ut congue nec est ac lacinia.
13-
% :type argin1: type
14-
% :param argin2: optional argument and its default value. And some of the
15-
% options can be shown in litteral like ``this`` or ``that``.
16-
% :type argin2: string
17-
% :param argin3: (dimension) optional argument
18-
% :type argin3: integer
19-
%
20-
% :returns: - :argout1: (type) (dimension)
21-
% - :argout2: (type) (dimension)
22-
%
4+
%
5+
% Short description of what the function does goes here.
6+
%
7+
% USAGE::
8+
%
9+
% [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3])
10+
%
11+
% :param argin1: (dimension) obligatory argument. Lorem ipsum dolor sit amet,
12+
% consectetur adipiscing elit. Ut congue nec est ac lacinia.
13+
% :type argin1: type
14+
% :param argin2: optional argument and its default value. And some of the
15+
% options can be shown in litteral like ``this`` or ``that``.
16+
% :type argin2: string
17+
% :param argin3: (dimension) optional argument
18+
% :type argin3: integer
19+
%
20+
% :returns: - :argout1: (type) (dimension)
21+
% - :argout2: (type) (dimension)
22+
%
2323
% convertSourceToRaw(cfg)
2424
%
2525
% attempts to convert a source dataset created with CPP_BIDS into a valid

src/createDataDictionary.m

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
% (C) Copyright 2020 CPP_BIDS developers
22

33
function createDataDictionary(cfg, logFile)
4-
%
5-
% Short description of what the function does goes here.
6-
%
7-
% USAGE::
8-
%
9-
% [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3])
10-
%
11-
% :param argin1: (dimension) obligatory argument. Lorem ipsum dolor sit amet,
12-
% consectetur adipiscing elit. Ut congue nec est ac lacinia.
13-
% :type argin1: type
14-
% :param argin2: optional argument and its default value. And some of the
15-
% options can be shown in litteral like ``this`` or ``that``.
16-
% :type argin2: string
17-
% :param argin3: (dimension) optional argument
18-
% :type argin3: integer
19-
%
20-
% :returns: - :argout1: (type) (dimension)
21-
% - :argout2: (type) (dimension)
22-
%
4+
%
5+
% Short description of what the function does goes here.
6+
%
7+
% USAGE::
8+
%
9+
% [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3])
10+
%
11+
% :param argin1: (dimension) obligatory argument. Lorem ipsum dolor sit amet,
12+
% consectetur adipiscing elit. Ut congue nec est ac lacinia.
13+
% :type argin1: type
14+
% :param argin2: optional argument and its default value. And some of the
15+
% options can be shown in litteral like ``this`` or ``that``.
16+
% :type argin2: string
17+
% :param argin3: (dimension) optional argument
18+
% :type argin3: integer
19+
%
20+
% :returns: - :argout1: (type) (dimension)
21+
% - :argout2: (type) (dimension)
22+
%
2323
% createDataDictionary(cfg, logFile)
2424
%
2525
% creates the data dictionary to be associated with a _events.tsv file

src/createDatasetDescription.m

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
% (C) Copyright 2020 CPP_BIDS developers
22

33
function createDatasetDescription(cfg)
4-
%
5-
% Short description of what the function does goes here.
6-
%
7-
% USAGE::
8-
%
9-
% [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3])
10-
%
11-
% :param argin1: (dimension) obligatory argument. Lorem ipsum dolor sit amet,
12-
% consectetur adipiscing elit. Ut congue nec est ac lacinia.
13-
% :type argin1: type
14-
% :param argin2: optional argument and its default value. And some of the
15-
% options can be shown in litteral like ``this`` or ``that``.
16-
% :type argin2: string
17-
% :param argin3: (dimension) optional argument
18-
% :type argin3: integer
19-
%
20-
% :returns: - :argout1: (type) (dimension)
21-
% - :argout2: (type) (dimension)
22-
%
4+
%
5+
% Short description of what the function does goes here.
6+
%
7+
% USAGE::
8+
%
9+
% [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3])
10+
%
11+
% :param argin1: (dimension) obligatory argument. Lorem ipsum dolor sit amet,
12+
% consectetur adipiscing elit. Ut congue nec est ac lacinia.
13+
% :type argin1: type
14+
% :param argin2: optional argument and its default value. And some of the
15+
% options can be shown in litteral like ``this`` or ``that``.
16+
% :type argin2: string
17+
% :param argin3: (dimension) optional argument
18+
% :type argin3: integer
19+
%
20+
% :returns: - :argout1: (type) (dimension)
21+
% - :argout2: (type) (dimension)
22+
%
2323
% createDatasetDescription(cfg)
2424
%
2525
% creates the datasetDescription.json file that goes in the root of a BIDS

src/createJson.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ function createJson(varargin)
44
%
55
% Creates the side car JSON file for a run.
66
%
7-
% For JSON sidecars for bold files, this will only contain the minimum BIDS
8-
% requirement and will likey be less complete than the info you could from
7+
% For JSON sidecars for bold files, this will only contain the minimum BIDS
8+
% requirement and will likey be less complete than the info you could from
99
% a proper BIDS conversion.
1010
%
1111
% USAGE::
1212
%
1313
% createJson(cfg [, modality] [, extraInfo])
1414
% createJson(cfg [, extraInfo])
1515
%
16-
% :param cfg: Configuration. See ``checkCFG()``.
16+
% :param cfg: Configuration. See ``checkCFG()``.
1717
% :type cfg: structure
18-
% :param modality: can be any of the following ``'beh'``, ``'func'``, ``'eeg'``,
18+
% :param modality: can be any of the following ``'beh'``, ``'func'``, ``'eeg'``,
1919
% ``'ieeg'``, ``'meg'``) to specify which JSON to save. If it is not
2020
% provided it will read from ``cfg.fileName.modality``.
2121
% :type modality: string

src/gui/askForGroupAndOrSession.m

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
% (C) Copyright 2020 CPP_BIDS developers
22

33
function cfg = askForGroupAndOrSession(cfg)
4-
%
5-
% Short description of what the function does goes here.
6-
%
7-
% USAGE::
8-
%
9-
% [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3])
10-
%
11-
% :param argin1: (dimension) obligatory argument. Lorem ipsum dolor sit amet,
12-
% consectetur adipiscing elit. Ut congue nec est ac lacinia.
13-
% :type argin1: type
14-
% :param argin2: optional argument and its default value. And some of the
15-
% options can be shown in litteral like ``this`` or ``that``.
16-
% :type argin2: string
17-
% :param argin3: (dimension) optional argument
18-
% :type argin3: integer
19-
%
20-
% :returns: - :argout1: (type) (dimension)
21-
% - :argout2: (type) (dimension)
22-
%
4+
%
5+
% Short description of what the function does goes here.
6+
%
7+
% USAGE::
8+
%
9+
% [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3])
10+
%
11+
% :param argin1: (dimension) obligatory argument. Lorem ipsum dolor sit amet,
12+
% consectetur adipiscing elit. Ut congue nec est ac lacinia.
13+
% :type argin1: type
14+
% :param argin2: optional argument and its default value. And some of the
15+
% options can be shown in litteral like ``this`` or ``that``.
16+
% :type argin2: string
17+
% :param argin3: (dimension) optional argument
18+
% :type argin3: integer
19+
%
20+
% :returns: - :argout1: (type) (dimension)
21+
% - :argout2: (type) (dimension)
22+
%
2323

2424
askGrpSess = [true true];
2525

src/gui/askUserCli.m

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
% (C) Copyright 2020 CPP_BIDS developers
22

33
function responses = askUserCli(questions, responses)
4-
%
5-
% Short description of what the function does goes here.
6-
%
7-
% USAGE::
8-
%
9-
% [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3])
10-
%
11-
% :param argin1: (dimension) obligatory argument. Lorem ipsum dolor sit amet,
12-
% consectetur adipiscing elit. Ut congue nec est ac lacinia.
13-
% :type argin1: type
14-
% :param argin2: optional argument and its default value. And some of the
15-
% options can be shown in litteral like ``this`` or ``that``.
16-
% :type argin2: string
17-
% :param argin3: (dimension) optional argument
18-
% :type argin3: integer
19-
%
20-
% :returns: - :argout1: (type) (dimension)
21-
% - :argout2: (type) (dimension)
22-
%
4+
%
5+
% Short description of what the function does goes here.
6+
%
7+
% USAGE::
8+
%
9+
% [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3])
10+
%
11+
% :param argin1: (dimension) obligatory argument. Lorem ipsum dolor sit amet,
12+
% consectetur adipiscing elit. Ut congue nec est ac lacinia.
13+
% :type argin1: type
14+
% :param argin2: optional argument and its default value. And some of the
15+
% options can be shown in litteral like ``this`` or ``that``.
16+
% :type argin2: string
17+
% :param argin3: (dimension) optional argument
18+
% :type argin3: integer
19+
%
20+
% :returns: - :argout1: (type) (dimension)
21+
% - :argout2: (type) (dimension)
22+
%
2323
% response = askUserCli(questions)
2424
%
2525
% command line interface to ask questions to user

src/gui/askUserGui.m

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
% (C) Copyright 2020 CPP_BIDS developers
22

33
function responses = askUserGui(questions, responses)
4-
%
5-
% Short description of what the function does goes here.
6-
%
7-
% USAGE::
8-
%
9-
% [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3])
10-
%
11-
% :param argin1: (dimension) obligatory argument. Lorem ipsum dolor sit amet,
12-
% consectetur adipiscing elit. Ut congue nec est ac lacinia.
13-
% :type argin1: type
14-
% :param argin2: optional argument and its default value. And some of the
15-
% options can be shown in litteral like ``this`` or ``that``.
16-
% :type argin2: string
17-
% :param argin3: (dimension) optional argument
18-
% :type argin3: integer
19-
%
20-
% :returns: - :argout1: (type) (dimension)
21-
% - :argout2: (type) (dimension)
22-
%
4+
%
5+
% Short description of what the function does goes here.
6+
%
7+
% USAGE::
8+
%
9+
% [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3])
10+
%
11+
% :param argin1: (dimension) obligatory argument. Lorem ipsum dolor sit amet,
12+
% consectetur adipiscing elit. Ut congue nec est ac lacinia.
13+
% :type argin1: type
14+
% :param argin2: optional argument and its default value. And some of the
15+
% options can be shown in litteral like ``this`` or ``that``.
16+
% :type argin2: string
17+
% :param argin3: (dimension) optional argument
18+
% :type argin3: integer
19+
%
20+
% :returns: - :argout1: (type) (dimension)
21+
% - :argout2: (type) (dimension)
22+
%
2323

2424
% boolean for which question should be asked
2525
isQuestionToAsk = ~cellfun('isempty', questions.questionsToAsk(:, 1));

src/gui/createQuestionList.m

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
% (C) Copyright 2020 CPP_BIDS developers
22

33
function questions = createQuestionList(cfg)
4-
%
5-
% Short description of what the function does goes here.
6-
%
7-
% USAGE::
8-
%
9-
% [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3])
10-
%
11-
% :param argin1: (dimension) obligatory argument. Lorem ipsum dolor sit amet,
12-
% consectetur adipiscing elit. Ut congue nec est ac lacinia.
13-
% :type argin1: type
14-
% :param argin2: optional argument and its default value. And some of the
15-
% options can be shown in litteral like ``this`` or ``that``.
16-
% :type argin2: string
17-
% :param argin3: (dimension) optional argument
18-
% :type argin3: integer
19-
%
20-
% :returns: - :argout1: (type) (dimension)
21-
% - :argout2: (type) (dimension)
22-
%
4+
%
5+
% Short description of what the function does goes here.
6+
%
7+
% USAGE::
8+
%
9+
% [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3])
10+
%
11+
% :param argin1: (dimension) obligatory argument. Lorem ipsum dolor sit amet,
12+
% consectetur adipiscing elit. Ut congue nec est ac lacinia.
13+
% :type argin1: type
14+
% :param argin2: optional argument and its default value. And some of the
15+
% options can be shown in litteral like ``this`` or ``that``.
16+
% :type argin2: string
17+
% :param argin3: (dimension) optional argument
18+
% :type argin3: integer
19+
%
20+
% :returns: - :argout1: (type) (dimension)
21+
% - :argout2: (type) (dimension)
22+
%
2323

2424
cfg = askForGroupAndOrSession(cfg);
2525

0 commit comments

Comments
 (0)