-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpipeline_paths.m
59 lines (53 loc) · 2.16 KB
/
pipeline_paths.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
function pp = pipeline_paths(varargin)
% Defaults
pp.DATA_SOURCE = 'D:\_VandC_DATA_PIPELINE\_0_RAW_DATA';
pp.DATA_DEST = 'D:\_VandC_DATA_PIPELINE\';
pp.RAW_DATA = 'D:\_VandC_DATA_PIPELINE\_0_RAW_DATA\';
pp.CAT_DATA = 'D:\_VandC_DATA_PIPELINE\_1_CAT_DATA\';
pp.BIN_DATA = 'D:\_VandC_DATA_PIPELINE\_2_BIN_DATA\';
pp.SPK_DATA = 'D:\_VandC_DATA_PIPELINE\_3_SPK_DATA\';
pp.SSC_DATA = 'D:\_VandC_DATA_PIPELINE\_4_SSC_DATA\';
pp.CNX_DATA = 'D:\_VandC_DATA_PIPELINE\_5_CNX_DATA\';
pp.NWB_DATA = 'D:\_VandC_DATA_PIPELINE\_6_NWB_DATA\';
pp.ART_DATA = 'D:\_VandC_DATA_PIPELINE\_7_ART_DATA\';
pp.CONDA = 'C:\Users\jakew\anaconda3';
pp.REPO = 'C:\Users\jakew\OneDrive\Documents\GitHub\november_whiskey_bravo\';
pp.TBOXES = 'C:\Users\jakew\OneDrive\Documents\GitHub\november_whiskey_bravo\forked_toolboxes\';
pp.SCRATCH = 'D:\scratch';
% Varargin
varStrInd = find(cellfun(@ischar,varargin));
for iv = 1:length(varStrInd)
switch varargin{varStrInd(iv)}
case {'DATA_SOURCE'}
pp.DATA_SOURCE = varargin{varStrInd(iv)+1};
case {'DATA_DEST'}
pp.DATA_DEST = varargin{varStrInd(iv)+1};
case {'RAW_DATA'}
pp.RAW_DATA = varargin{varStrInd(iv)+1};
case {'CAT_DATA'}
pp.CAT_DATA = varargin{varStrInd(iv)+1};
case {'BIN_DATA'}
pp.BIN_DATA = varargin{varStrInd(iv)+1};
case {'SPK_DATA'}
pp.SPK_DATA = varargin{varStrInd(iv)+1};
case {'SSC_DATA'}
pp.SSC_DATA = varargin{varStrInd(iv)+1};
case {'CNX_DATA'}
pp.CNX_DATA = varargin{varStrInd(iv)+1};
case {'NWB_DATA'}
pp.NWB_DATA = varargin{varStrInd(iv)+1};
case {'EPO_DATA'}
pp.EPO_DATA = varargin{varStrInd(iv)+1};
case {'CONDA'}
pp.CONDA = varargin{varStrInd(iv)+1};
case {'REPO'}
pp.REPO = varargin{varStrInd(iv)+1};
case {'TBOXES'}
pp.TBOXES = varargin{varStrInd(iv)+1};
case {'SCRATCH'}
pp.SCRATCH = varargin{varStrInd(iv)+1};
case {'pp'}
pp = varargin{varStrInd(iv)+1};
end
end
end