File tree 11 files changed +46
-40
lines changed
11 files changed +46
-40
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,10 @@ jobs:
103
103
name : create output directory
104
104
command : mkdir -p /home/circleci/outputs/ds000001/derivatives
105
105
106
+ - run :
107
+ name : version
108
+ command : docker run -ti --rm << parameters.dh_orga >>/<< parameters.dh_repo >> --version
109
+
106
110
- run :
107
111
name : default model subject level
108
112
command : |
Original file line number Diff line number Diff line change 1
- # ignoring this might speed up build
2
- # by preventing passing extra content to the docker daemon
3
-
4
- .github
5
- .mypy_cache
6
- .vscode
7
- binder
8
- coverage_html
9
- ** /demos
10
- ** /docs
11
- templates
12
- ** /tests
13
- ** /bids-examples
14
- lib /** /.git
1
+ lib /spmup
15
2
3
+ docs /posters /2023_ohbm /poster /betterposter-thumbnail-portrait.png
16
4
17
5
# General
18
6
.DS_Store
@@ -23,6 +11,8 @@ lib/**/.git
23
11
* .html
24
12
* .docx
25
13
* .ps
14
+ * .~lock. *
15
+ * .ppt *
26
16
27
17
new_events.tsv
28
18
@@ -38,21 +28,31 @@ skipped_roi_*.tsv
38
28
# created by tests
39
29
CHANGES
40
30
README
31
+ tests /data /tsv_files /moae_results_table.tsv
32
+ htmlcov
41
33
42
34
# Project specific
43
35
onsets * _events.mat
44
36
45
-
46
37
# # from running tests in root dir
47
38
* /group /*
48
39
models /*
40
+ derivatives /models
41
+ derivatives /options
42
+
43
+ # hatch
44
+ src /bidspm /_version.py
49
45
50
46
# ##############################################################################
51
47
# python
52
48
** /* egg-info
53
49
** /__pycache__
54
50
** /build
55
51
.coverage
52
+ .pytest_cache
53
+ .tox
54
+
55
+ .mypy_cache
56
56
57
57
# jupyter notebooks
58
58
.ipynb_checkpoints
Original file line number Diff line number Diff line change 26
26
apptainer-version : 1.3.0
27
27
- name : build sif image
28
28
run : apptainer build bidspm.sif bidspm.def
29
+ - name : version
30
+ run : apptainer run bidspm.sif --version
Original file line number Diff line number Diff line change 6
6
# Required
7
7
version : 2
8
8
9
+ submodules :
10
+ exclude : [lib/riksneurotools, lib/CPP_ROI]
11
+
9
12
build :
10
13
os : ubuntu-22.04
11
14
tools :
Original file line number Diff line number Diff line change @@ -56,11 +56,17 @@ WORKDIR /home/neuro
56
56
57
57
COPY . /home/neuro/bidspm
58
58
WORKDIR /home/neuro/bidspm
59
- RUN pip install --no-cache-dir --upgrade pip && \
59
+ RUN git restore . && \
60
+ git -C lib/CPP_ROI/atlas/HCPex reset --hard && \
61
+ git -C lib/CPP_ROI/atlas/HCPex clean --force -dfx && \
62
+ git status && \
63
+ pip install --no-cache-dir --upgrade pip && \
60
64
pip3 --no-cache-dir install -r requirements.txt && \
61
65
pip3 --no-cache-dir install . && \
62
- octave --no-gui --eval "addpath('/opt/spm12/'); savepath ();" && \
63
- octave --no-gui --eval "addpath(pwd); savepath(); bidspm(); path"
66
+ octave --no-gui --eval "addpath('/opt/spm12/'); savepath ('/usr/share/octave/site/m/startup/octaverc');" && \
67
+ octave --no-gui --eval "addpath(pwd); savepath('/usr/share/octave/site/m/startup/octaverc'); bidspm(); path" && \
68
+ octave --no-gui --eval "path"
69
+
64
70
65
71
WORKDIR /home/neuro
66
72
Original file line number Diff line number Diff line change @@ -123,20 +123,6 @@ clean_docker:
123
123
build_image : Dockerfile # # Build stable docker image from the main branch
124
124
docker build . -f Dockerfile -t cpplab/bidspm:unstable
125
125
126
- Dockerfile_matlab :
127
- docker run --rm kaczmarj/neurodocker:0.9.1 generate docker \
128
- --pkg-manager apt \
129
- --base-image debian:stretch-slim \
130
- --spm12 version=r7771 \
131
- --install nodejs npm \
132
- --run " node -v && npm -v && npm install -g bids-validator" \
133
- --user neuro \
134
- --run " mkdir code output bidspm" \
135
- --copy " ." , " /home/neuro/bidspm/" > Dockerfile_matlab
136
-
137
- build_image_matlab : Dockerfile_matlab
138
- docker build . -f Dockerfile_matlab -t cpplab/bidspm_matlab:unstable
139
-
140
126
docker_data :
141
127
make -C demos/openneuro data_ds000001
142
128
Original file line number Diff line number Diff line change @@ -50,11 +50,19 @@ From: bids/base_validator:1.13.1
50
50
make -C /opt/spm12/src PLATFORM=octave install
51
51
ln -s /opt/spm12/bin/spm12-octave /usr/local/bin/spm12
52
52
53
+ git -C /opt/bidspm restore .
54
+ git -C /opt/bidspm/ submodule foreach --recursive 'git reset --hard'
55
+ git -C /opt/bidspm/ submodule foreach --recursive 'git clean --force -dfx'
56
+ git -C /opt/bidspm/ status
57
+
58
+
59
+
53
60
pip install --upgrade pip
54
61
pip install -r /opt/bidspm/requirements.txt
55
62
pip install /opt/bidspm
56
63
octave --no-gui --eval "addpath('/opt/spm12/'); savepath ('/usr/share/octave/site/m/startup/octaverc');" && \
57
- octave --no-gui --eval "addpath('/opt/bidspm/'); savepath('/usr/share/octave/site/m/startup/octaverc'); bidspm(); path"
64
+ octave --no-gui --eval "addpath('/opt/bidspm/'); savepath('/usr/share/octave/site/m/startup/octaverc'); bidspm(); path" && \
65
+ octave --no-gui --eval "path"
58
66
59
67
%runscript
60
68
bidspm "$@"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ BROWSER := python -c "$$BROWSER_PYSCRIPT"
15
15
16
16
# You can set these variables from the command line, and also
17
17
# from the environment for the first two.
18
- SPHINXOPTS ?=
18
+ SPHINXOPTS ?= -v
19
19
SPHINXBUILD ?= sphinx-build
20
20
SOURCEDIR = source
21
21
BUILDDIR = build
Original file line number Diff line number Diff line change 58
58
exclude_patterns = [
59
59
"**/examples/*" ,
60
60
"**/images/*" ,
61
- "**/lib/**" ,
62
61
"demo" ,
63
62
"defaults" ,
64
63
"examples" ,
65
64
"images" ,
66
- "lib" ,
67
- "tests/**/*.m" ,
68
65
]
69
66
70
67
suppress_warnings = ["myst.header" , "myst.xref_missing" ]
Original file line number Diff line number Diff line change @@ -158,5 +158,5 @@ transformers cannot yet be appled to confounds
158
158
### Scripts
159
159
160
160
``` {eval-rst}
161
- .. autoscript:: ds003379_run
161
+ .. autoscript:: ds003397_run
162
162
```
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ dev = [
36
36
' pandas'
37
37
]
38
38
doc = [
39
- " urllib3==1.26.15 " ,
39
+ " urllib3" ,
40
40
" faqtory" ,
41
41
" myst-parser" ,
42
42
" sphinx" ,
@@ -45,7 +45,7 @@ doc = [
45
45
" pydata-sphinx-theme" ,
46
46
" sphinx-togglebutton" ,
47
47
" sphinxcontrib-bibtex" ,
48
- " sphinxcontrib-matlabdomain" ,
48
+ " sphinxcontrib-matlabdomain>=0.22.1 " ,
49
49
" sphinxcontrib-mermaid" ,
50
50
" setuptools"
51
51
]
You can’t perform that action at this time.
0 commit comments