Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/miss_hit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,16 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip3 install install miss_hit
pip3 install -r requirements.txt

- name: Miss_hit code quality
- name: MISS_HIT Code style
run: |
mh_metric . --ci
mh_style --process-slx

- name: Miss_hit code style
- name: MISS_HIT Metrics
run: |
mh_style .
mh_metric --ci

- name: MISS_HIT Bug finder
run: |
mh_lint
2 changes: 1 addition & 1 deletion docs/requirements.txt → requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Sphinx
sphinxcontrib-matlabdomain
sphinxcontrib-napoleon
sphinx_rtd_theme
miss_hit
miss_hit==0.9.15
2 changes: 1 addition & 1 deletion src/checkCFG.m
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@

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

% REQUIRED List of temporal and/or spatial software filters applied, or ideally
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/utils/checkCppBidsDependencies.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ function checkCppBidsDependencies(cfg)

pth = fullfile(fileparts(mfilename('fullpath')), '..', '..');
addpath(fullfile(pth, 'lib', 'utils'));

pth = fullfile(fileparts(mfilename('fullpath')), '..', '..');
pth = abspath(pth);

checkSubmodule(fullfile(pth, 'lib', 'JSONio'));
checkSubmodule(fullfile(pth, 'lib', 'bids-matlab'));

Expand Down
4 changes: 2 additions & 2 deletions src/utils/printCreditsCppBids.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ function printCreditsCppBids(cfg)
if verbose > 1

contributors = { ...
'Rémi Gau', ...
'Remi Gau', ...
'Marco Barilari', ...
'Ceren Battal', ...
'Tomas Lenc'};

DOI_URL = 'https://doi.org/10.5281/zenodo.4007674';

repoURL = 'https://github.com/cpp-lln-lab/CPP_BIDS';
Expand Down
2 changes: 1 addition & 1 deletion tests/test_createValidName.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function test_createTaskNameRemoveInvalidCharacters()

%% set up

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

[~, taskNameValid] = createValidName(taskName);

Expand Down