Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
8ebbf00
add download instructions for demo dataset with fieldmaps
Remi-Gau Oct 25, 2020
0e5ac7f
add basic demo to show how to use fieldmap workflow
Remi-Gau Oct 25, 2020
ca0d663
change copy raw to not filter modalities
Remi-Gau Oct 25, 2020
16bf11f
create rough draft of workflow
Remi-Gau Oct 25, 2020
66b640e
add batches for coreg
Remi-Gau Oct 25, 2020
94a3ffb
small change to getInfo
Remi-Gau Oct 25, 2020
e5cf22b
finish first draft of coregistration of fmap
Remi-Gau Oct 25, 2020
f3af70c
minor changes
Remi-Gau Oct 25, 2020
9498b16
update fmap workflow
Remi-Gau Oct 25, 2020
ade8561
change tab width
Remi-Gau Oct 30, 2020
926af61
make copyRaw deal with modalities
Remi-Gau Oct 30, 2020
134e64e
refactor bidsCopyRaw
Remi-Gau Oct 30, 2020
4c71b0f
mh fix
Remi-Gau Oct 30, 2020
d81b6f3
update function templates
Remi-Gau Oct 30, 2020
a2b4a90
mh fix
Remi-Gau Oct 30, 2020
5389756
remove change log (for now)
Remi-Gau Oct 30, 2020
56ba1f4
update README
Remi-Gau Oct 30, 2020
e068b83
fix bidsCopyRawFolder
Remi-Gau Oct 30, 2020
433daff
rename coregistration batch setting functions
Remi-Gau Oct 30, 2020
4d109c1
fix copyright year
Remi-Gau Oct 30, 2020
f62d760
upate VDM workflow
Remi-Gau Oct 30, 2020
817ee3c
add function for image calculation
Remi-Gau Oct 30, 2020
e879516
remove checkoption duplicate
Remi-Gau Oct 30, 2020
70aa86b
update VDM pipeline
Remi-Gau Oct 30, 2020
519e99c
fix reaLign
Remi-Gau Oct 30, 2020
93754c4
move templates
Remi-Gau Oct 30, 2020
627891f
make VDM wrokflow fetch metadata of associated func file
Remi-Gau Oct 31, 2020
31ed358
create new subfolders
Remi-Gau Oct 31, 2020
4ab0fa6
make realign an unwarp use the VDM files if they are present
Remi-Gau Oct 31, 2020
80637ba
update demo and try to run it in CI
Remi-Gau Oct 31, 2020
2296771
mh fix
Remi-Gau Oct 31, 2020
072fc03
update README
Remi-Gau Oct 31, 2020
9185308
fix test load and check options
Remi-Gau Oct 31, 2020
7bc93f5
update doc README
Remi-Gau Oct 31, 2020
46f0ada
update demo ds001168
Remi-Gau Oct 31, 2020
ab55c3b
update doc README
Remi-Gau Oct 31, 2020
cb6a317
fix CI
Remi-Gau Oct 31, 2020
cc73a92
update doc
Remi-Gau Oct 31, 2020
947f37b
update travis CI
Remi-Gau Oct 31, 2020
e2610cd
update copyright dates
Remi-Gau Oct 31, 2020
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
2 changes: 1 addition & 1 deletion .github/workflows/miss_hit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip3 install install miss_hit
pip3 install miss_hit
- name: Miss_hit code quality
run: |
Expand Down
84 changes: 57 additions & 27 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,61 +2,74 @@
# This will only work on your repo if you have an account on travis and you
# have set it up to run continuous integration on this this repo

# Linux distribution (bionic beaver)
dist: bionic

# Language and version
language: python
python:
- "3.6" # current default Python on Travis CI
language: node_js
node_js:
- "10"

cache:
apt: true # only works with Pro version
apt: true
directories:
- node_modules # NPM packages for the remark markdown linter
- node_modules

# only run the CI for those branches
branches:
only: # only run the CI for those branches
- master
- dev
only:
- master
- dev

env:
global:
- OCTFLAGS="--no-gui --no-window-system --silent"

jobs:
# TODO maybe this could be refactored as this is not needed to check the
# the markdown linting
install:
# install octave
- travis_retry sudo apt-get -y -qq update
- travis_retry sudo apt-get -y install octave
- travis_retry sudo apt-get -y install liboctave-dev

# install SPM and the relevant patches for octave
- git clone https://github.com/spm/spm12.git --depth 1
- make -C spm12/src PLATFORM=octave distclean
- make -C spm12/src PLATFORM=octave
- make -C spm12/src PLATFORM=octave install

# update octave path
- octave $OCTFLAGS --eval "addpath(genpath(fullfile(pwd, 'lib'))); savepath();"
- octave $OCTFLAGS --eval "addpath(genpath(fullfile(pwd, 'src'))); savepath();"
- octave $OCTFLAGS --eval "addpath(fullfile(pwd, 'spm12')); savepath();"

jobs:
include:

# names the first job
#-------------------------------------------------------------------------
# first job
#-------------------------------------------------------------------------
- name: "Unit tests and coverage"

before_install:
# install octave
- travis_retry sudo apt-get -y -qq update
- travis_retry sudo apt-get -y install octave
- travis_retry sudo apt-get -y install liboctave-dev
before_script:

# install MOX unit
- git clone https://github.com/MOxUnit/MOxUnit.git --depth 1
- cd MOxUnit
- make install
- cd ..

# install MOcov
- git clone https://github.com/MOcov/MOcov.git --depth 1
- cd MOcov
- make install
- cd ..
# install SPM and the relevant patches for octave
- git clone https://github.com/spm/spm12.git --depth 1
- make -C spm12/src PLATFORM=octave distclean
- make -C spm12/src PLATFORM=octave
- make -C spm12/src PLATFORM=octave install

# get data
- output_folder='demos/MoAE/output/'
- mkdir $output_folder
- curl http://www.fil.ion.ucl.ac.uk/spm/download/data/MoAEpilot/MoAEpilot.bids.zip --output $output_folder'MoAEpilot.zip'
- unzip $output_folder'MoAEpilot.zip' -d $output_folder

script:
- octave $OCTFLAGS --eval "runTests"
- cat test_report.log | grep 0
Expand All @@ -65,11 +78,28 @@ jobs:
after_success:
- bash <(curl -s https://codecov.io/bash)

#-------------------------------------------------------------------------
# second job
#-------------------------------------------------------------------------
- name: "Check markdown"
language: node_js
node_js:
- "10"

before_script:
# install node.js dependencies
- npm install `cat npm-requirements.txt`

script:
- remark *.md --frail
- remark ./demos/ --frail
- remark ./docs/ --frail
- remark ./tests/ --frail

#-------------------------------------------------------------------------
# third job
#-------------------------------------------------------------------------
- name: "Run demo"

if: branch = master

script:
- remark ./docs/ --frail
- cd demos/MoAE
- octave $OCTFLAGS --eval "MoAEpilot_run"
178 changes: 0 additions & 178 deletions CHANGELOG.md

This file was deleted.

Loading