Skip to content

Commit 9a57c2e

Browse files
authored
Merge pull request #158 from Remi-Gau/remi-update_miss_hit
[INFRA] Update miss hit configuration
2 parents 387e14d + d8d4c5d commit 9a57c2e

File tree

7 files changed

+16
-12
lines changed

7 files changed

+16
-12
lines changed

.github/workflows/miss_hit.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,16 @@ jobs:
2828
- name: Install dependencies
2929
run: |
3030
python -m pip install --upgrade pip setuptools
31-
pip3 install install miss_hit
31+
pip3 install -r requirements.txt
3232
33-
- name: Miss_hit code quality
33+
- name: MISS_HIT Code style
3434
run: |
35-
mh_metric . --ci
35+
mh_style --process-slx
3636
37-
- name: Miss_hit code style
37+
- name: MISS_HIT Metrics
3838
run: |
39-
mh_style .
39+
mh_metric --ci
40+
41+
- name: MISS_HIT Bug finder
42+
run: |
43+
mh_lint

docs/requirements.txt renamed to requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ Sphinx
22
sphinxcontrib-matlabdomain
33
sphinxcontrib-napoleon
44
sphinx_rtd_theme
5-
miss_hit
5+
miss_hit==0.9.15

src/checkCFG.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@
354354

355355
% REQUIRED Position of the dewar during the MEG scan: "upright", "supine" or
356356
% "degrees" of angle from vertical: for example on CTF systems,
357-
% upright=15°, supine = 90°:
357+
% upright=15 deg, supine = 90 deg:
358358
fieldsToSet.bids.meg.DewarPosition = [];
359359

360360
% REQUIRED List of temporal and/or spatial software filters applied, or ideally
File renamed without changes.

src/utils/checkCppBidsDependencies.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ function checkCppBidsDependencies(cfg)
2222

2323
pth = fullfile(fileparts(mfilename('fullpath')), '..', '..');
2424
addpath(fullfile(pth, 'lib', 'utils'));
25-
25+
2626
pth = fullfile(fileparts(mfilename('fullpath')), '..', '..');
2727
pth = abspath(pth);
28-
28+
2929
checkSubmodule(fullfile(pth, 'lib', 'JSONio'));
3030
checkSubmodule(fullfile(pth, 'lib', 'bids-matlab'));
3131

src/utils/printCreditsCppBids.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ function printCreditsCppBids(cfg)
2828
if verbose > 1
2929

3030
contributors = { ...
31-
'Rémi Gau', ...
31+
'Remi Gau', ...
3232
'Marco Barilari', ...
3333
'Ceren Battal', ...
3434
'Tomas Lenc'};
35-
35+
3636
DOI_URL = 'https://doi.org/10.5281/zenodo.4007674';
3737

3838
repoURL = 'https://github.com/cpp-lln-lab/CPP_BIDS';

tests/test_createValidName.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function test_createTaskNameRemoveInvalidCharacters()
1212

1313
%% set up
1414

15-
taskName = '&|@#-_(§!{})[]ù%£+/=:;.?,\<> visual task';
15+
taskName = '&|@#-_(!{})[]%+/=:;.?,\<> visual task';
1616

1717
[~, taskNameValid] = createValidName(taskName);
1818

0 commit comments

Comments
 (0)