Skip to content

Commit a07baf5

Browse files
authored
Merge pull request #95 from Remi-Gau/dev
[FIX] solve adding CPP BIDS dependency to path
2 parents 136cd6e + fcc1860 commit a07baf5

File tree

4 files changed

+28
-24
lines changed

4 files changed

+28
-24
lines changed

.gitignore

+2
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

+22-22
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

+3-1
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

version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.3.0
1+
v0.3.1

0 commit comments

Comments
 (0)