Skip to content

Commit 3cb26c0

Browse files
committed
Merge remote-tracking branch 'upstream/main' into macs_gof
2 parents 696c8e7 + 3a51c8b commit 3cb26c0

File tree

15 files changed

+423
-394
lines changed

15 files changed

+423
-394
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ coverage_html
1111
templates
1212
**/tests
1313
**/bids-examples
14-
lib/*/.git
14+
lib/**/.git
1515

1616

1717
# General

.github/workflows/tests_octave.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- name: Install python
7272
uses: actions/setup-python@v4
7373
with:
74-
python-version: '3.10'
74+
python-version: '3.11'
7575

7676
- name: Clone bidspm
7777
uses: actions/checkout@v3

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ repos:
5656
args: [--config=pyproject.toml]
5757

5858
- repo: https://github.com/asottile/pyupgrade
59-
rev: v3.10.1
59+
rev: v3.11.0
6060
hooks:
6161
- id: pyupgrade
6262
args: [--py38-plus]
@@ -73,7 +73,7 @@ repos:
7373
- id: flynt
7474

7575
- repo: https://github.com/asottile/reorder-python-imports
76-
rev: v3.10.0
76+
rev: v3.11.0
7777
hooks:
7878
- id: reorder-python-imports
7979
args: [--py38-plus, --add-import, from __future__ import annotations]

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG = -nodisplay -nosplash -nodesktop
3434

3535
install:
3636
npm install -g bids-validator
37-
pip3 install .
37+
pip3 install .[dev]
3838

3939
help: ## Show what this Makefile can do
4040
@python -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST)
@@ -122,7 +122,6 @@ clean_docker:
122122

123123
build_image: Dockerfile ## Build stable docker image from the main branch
124124
docker build . -f Dockerfile -t cpplab/bidspm:unstable
125-
VERSION=$(cat version.txt | cut -c2-)
126125

127126
Dockerfile_matlab:
128127
docker run --rm kaczmarj/neurodocker:0.9.1 generate docker \
@@ -138,4 +137,7 @@ Dockerfile_matlab:
138137
build_image_matlab: Dockerfile_matlab
139138
docker build . -f Dockerfile_matlab -t cpplab/bidspm_matlab:unstable
140139

140+
docker_data:
141+
make -C demos/openneuro data_ds000001
142+
141143
################################################################################

demos/MoAE/test_moae.m

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,22 @@
8484

8585
cd(WD);
8686

87-
% with Octave running more n-1 loop in CI is fine
87+
% Octave
88+
% running more n-1 loop in CI is fine
8889
% but not running crashes with a segmentation fault
8990
% /home/runner/work/_temp/fb8e9d58-fa9f-4f93-8c96-387973f3632e.sh: line 2:
9091
% 7487 Segmentation fault (core dumped) octave $OCTFLAGS --eval "run system_tests_facerep;"
9192
%
9293
% not sure why
93-
if bids.internal.is_octave()
94+
%
95+
96+
% Windows
97+
% Error using overwriteDir
98+
% C:\Users\runneradmin\AppData\Local\Temp\8f7c44ca98d0\outputs\derivatives\bidspm-stats\
99+
% sub-01\task-auditory_space-individual_FWHM-6 could not be removed.
100+
% Error in setBatchSubjectLevelGLMSpec (line 73)
101+
% overwriteDir(ffxDir, opt);
102+
if bids.internal.is_octave() || ispc()
94103
break
95104
end
96105

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ dev = [
6969
"coverage",
7070
"pytest",
7171
"ruamel.yaml",
72+
'pandas'
7273
]
7374

7475
[project.scripts]

tests/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ clean_local:
1010
rm -rf data/derivatives/bidspm-*/jobs
1111

1212
create_dummy_dataset: clean_local
13-
sh createDummyDataSet.sh
13+
python create_dummy_dataset.py
1414

1515
bids_examples:
1616
rm -rf bids-examples/

0 commit comments

Comments
 (0)