File tree Expand file tree Collapse file tree 11 files changed +46
-40
lines changed Expand file tree Collapse file tree 11 files changed +46
-40
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,10 @@ jobs:
103103 name : create output directory
104104 command : mkdir -p /home/circleci/outputs/ds000001/derivatives
105105
106+ - run :
107+ name : version
108+ command : docker run -ti --rm << parameters.dh_orga >>/<< parameters.dh_repo >> --version
109+
106110 - run :
107111 name : default model subject level
108112 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
152
3+ docs /posters /2023_ohbm /poster /betterposter-thumbnail-portrait.png
164
175# General
186.DS_Store
@@ -23,6 +11,8 @@ lib/**/.git
2311* .html
2412* .docx
2513* .ps
14+ * .~lock. *
15+ * .ppt *
2616
2717new_events.tsv
2818
@@ -38,21 +28,31 @@ skipped_roi_*.tsv
3828# created by tests
3929CHANGES
4030README
31+ tests /data /tsv_files /moae_results_table.tsv
32+ htmlcov
4133
4234# Project specific
4335onsets * _events.mat
4436
45-
4637# # from running tests in root dir
4738* /group /*
4839models /*
40+ derivatives /models
41+ derivatives /options
42+
43+ # hatch
44+ src /bidspm /_version.py
4945
5046# ##############################################################################
5147# python
5248** /* egg-info
5349** /__pycache__
5450** /build
5551.coverage
52+ .pytest_cache
53+ .tox
54+
55+ .mypy_cache
5656
5757# jupyter notebooks
5858.ipynb_checkpoints
Original file line number Diff line number Diff line change 2626 apptainer-version : 1.3.0
2727 - name : build sif image
2828 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 66# Required
77version : 2
88
9+ submodules :
10+ exclude : [lib/riksneurotools, lib/CPP_ROI]
11+
912build :
1013 os : ubuntu-22.04
1114 tools :
Original file line number Diff line number Diff line change @@ -56,11 +56,17 @@ WORKDIR /home/neuro
5656
5757COPY . /home/neuro/bidspm
5858WORKDIR /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 && \
6064 pip3 --no-cache-dir install -r requirements.txt && \
6165 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+
6470
6571WORKDIR /home/neuro
6672
Original file line number Diff line number Diff line change @@ -123,20 +123,6 @@ clean_docker:
123123build_image : Dockerfile # # Build stable docker image from the main branch
124124 docker build . -f Dockerfile -t cpplab/bidspm:unstable
125125
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-
140126docker_data :
141127 make -C demos/openneuro data_ds000001
142128
Original file line number Diff line number Diff line change @@ -50,11 +50,19 @@ From: bids/base_validator:1.13.1
5050 make -C /opt/spm12/src PLATFORM=octave install
5151 ln -s /opt/spm12/bin/spm12-octave /usr/local/bin/spm12
5252
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+
5360 pip install --upgrade pip
5461 pip install -r /opt/bidspm/requirements.txt
5562 pip install /opt/bidspm
5663 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"
5866
5967%runscript
6068 bidspm "$@"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ BROWSER := python -c "$$BROWSER_PYSCRIPT"
1515
1616# You can set these variables from the command line, and also
1717# from the environment for the first two.
18- SPHINXOPTS ?=
18+ SPHINXOPTS ?= -v
1919SPHINXBUILD ?= sphinx-build
2020SOURCEDIR = source
2121BUILDDIR = build
Original file line number Diff line number Diff line change 5858exclude_patterns = [
5959 "**/examples/*" ,
6060 "**/images/*" ,
61- "**/lib/**" ,
6261 "demo" ,
6362 "defaults" ,
6463 "examples" ,
6564 "images" ,
66- "lib" ,
67- "tests/**/*.m" ,
6865]
6966
7067suppress_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
158158### Scripts
159159
160160``` {eval-rst}
161- .. autoscript:: ds003379_run
161+ .. autoscript:: ds003397_run
162162```
You can’t perform that action at this time.
0 commit comments