Skip to content

Commit

Permalink
Add fsltools (#599)
Browse files Browse the repository at this point in the history
* - Upgrade BIDScoin to 4.3.0
- Remove tools that need FSL or FreeSurfer

* Fix URL typo

* Fix versionstring replacement

* Add fsl tools needed for some bidscoin apps
  • Loading branch information
marcelzwiers authored Feb 21, 2024
1 parent 4176c91 commit 35e3648
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions recipes/bidscoin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ bidscoin: https://bidscoin.readthedocs.io/en/4.3.0
physio2tsv
plotphysio
rawmapper
slicereport
```

Example converting dicom to BIDS:
Expand Down
8 changes: 5 additions & 3 deletions recipes/bidscoin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ neurodocker generate ${neurodocker_buildMode} `# Based on Singularity .def file
`# NOTE: PyQt5 is installed as Debian package to solve dependencies issues occurring when installed with pip.` \
--install python3-pyqt5 \
--miniconda version=latest \
pip_install="bidscoin[spec2nii2bids]@git+https://github.com/Donders-Institute/bidscoin@v${toolVersion}+qt5" \
--env DEPLOY_BINS=bidscoin:bidscoiner:bidseditor:bidsmapper:bidsparticipants:dicomsort:echocombine:physio2tsv:plotphysio:rawmapper:dcm2niix:spec2nii \
--copy README.md /README.md \
conda_install="-c conda-forge -c https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/public/ fsl-libvis fsl-avwutils fsl-flirt" \
pip_install="bidscoin[spec2nii2bids,deface]@git+https://github.com/Donders-Institute/bidscoin@v${toolVersion}+qt5" \
--env FSLDIR=/opt/miniconda-latest FSLOUTPUTTYPE=NIFTI_GZ \
--env DEPLOY_BINS=bidscoin:bidscoiner:bidseditor:bidsmapper:bidsparticipants:deface:dicomsort:echocombine:medeface:physio2tsv:plotphysio:rawmapper:slicereport:dcm2niix:spec2nii \
--copy README.md /README.md \
> ${toolName}_${toolVersion}.Dockerfile

if [ "$1" != "" ]; then
Expand Down

0 comments on commit 35e3648

Please sign in to comment.