Skip to content

Commit faec4c7

Browse files
committed
fix adding CPP BIDS dependency to path
1 parent 136cd6e commit faec4c7

File tree

3 files changed

+27
-23
lines changed

3 files changed

+27
-23
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
*.tsv
88
*.mat
99

10+
output
11+
1012
## virtual env
1113
env/
1214
venv/

.pre-commit-config.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
repos:
22

3-
- repo: local
3+
# - repo: local
44

5-
hooks:
5+
# hooks:
66

7-
- id: mh_style
8-
name: mh_style
9-
entry: mh_style
10-
args: [--process-slx, --fix]
11-
files: ^(.*\.(m|slx))$
12-
language: python
13-
additional_dependencies: [miss_hit_core]
7+
# - id: mh_style
8+
# name: mh_style
9+
# entry: mh_style
10+
# args: [--process-slx, --fix]
11+
# files: ^(.*\.(m|slx))$
12+
# language: python
13+
# additional_dependencies: [miss_hit_core]
1414

15-
- id: mh_metric
16-
name: mh_metric
17-
entry: mh_metric
18-
args: [--ci]
19-
files: ^(.*\.(m|slx))$
20-
language: python
21-
additional_dependencies: [miss_hit_core]
15+
# - id: mh_metric
16+
# name: mh_metric
17+
# entry: mh_metric
18+
# args: [--ci]
19+
# files: ^(.*\.(m|slx))$
20+
# language: python
21+
# additional_dependencies: [miss_hit_core]
2222

23-
- id: mh_lint
24-
name: mh_lint
25-
entry: mh_lint
26-
files: ^(.*\.(m|slx))$
27-
language: python
28-
additional_dependencies: [miss_hit]
23+
# - id: mh_lint
24+
# name: mh_lint
25+
# entry: mh_lint
26+
# files: ^(.*\.(m|slx))$
27+
# language: python
28+
# additional_dependencies: [miss_hit]
2929

3030
- repo: https://github.com/pre-commit/pre-commit-hooks
3131
rev: v4.0.1

initEnv.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,10 @@ function tryInstallFromForge(packageName)
100100
function addDependencies()
101101

102102
pth = fileparts(mfilename('fullpath'));
103-
addpath(genpath(fullfile(pth, 'lib', 'CPP_BIDS', 'src')));
103+
addpath(fullfile(pth, 'lib', 'CPP_BIDS'));
104104
addpath(genpath(fullfile(pth, 'lib', 'CPP_PTB', 'src')));
105105
addpath(genpath(fullfile(pth, 'subfun')));
106106

107+
checkCppBidsDependencies()
108+
107109
end

0 commit comments

Comments
 (0)