|
2 | 2 |
|
3 | 3 | function convertSourceToRaw(cfg) |
4 | 4 | % |
5 | | - % Short description of what the function does goes here. |
6 | | - % |
7 | | - % USAGE:: |
| 5 | + % Function attempts to convert a source dataset created with CPP_BIDS into a valid |
| 6 | + % BIDS data set. |
8 | 7 | % |
9 | | - % [argout1, argout2] = templateFunction(argin1, [argin2 == default,] [argin3]) |
10 | 8 | % |
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 |
| 9 | + % USAGE:: |
19 | 10 | % |
20 | | - % :returns: - :argout1: (type) (dimension) |
21 | | - % - :argout2: (type) (dimension) |
| 11 | + % convertSourceToRaw(cfg) |
22 | 12 | % |
23 | | - % convertSourceToRaw(cfg) |
| 13 | + % :param cfg: cfg structure is needed only for providing the path in |
| 14 | + % ``cfg.dir.output`` |
| 15 | + % :type cfg: structure |
24 | 16 | % |
25 | | - % attempts to convert a source dataset created with CPP_BIDS into a valid |
26 | | - % BIDS data set. |
| 17 | + % :output: |
27 | 18 | % - creates dummy README and CHANGE file |
28 | 19 | % - copy source dir to raw dir |
29 | | - % - remove the date suffix (_date-YYYYMMDDHHMM) from the files where it is present |
30 | | - % |
31 | | - % Only covers func folder at the moment |
| 20 | + % - remove the date suffix (_date-*) from the files where it is present |
| 21 | + % - zips the _stim files. |
32 | 22 |
|
33 | 23 | sourceDir = fullfile(cfg.dir.output, 'source'); |
34 | 24 | rawDir = fullfile(cfg.dir.output, 'raw'); |
|
0 commit comments