Skip to content

Commit

Permalink
fix: implement @jdkent's suggestion for ICA-AROMA version retrieval […
Browse files Browse the repository at this point in the history
…skip ci]
  • Loading branch information
oesteban committed Sep 11, 2019
1 parent 7a1fa11 commit 7042c8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ RUN mkdir -p /opt/ICA-AROMA && \
curl -sSL "https://github.com/maartenmennes/ICA-AROMA/archive/v0.4.4-beta.tar.gz" \
| tar -xzC /opt/ICA-AROMA --strip-components 1 && \
chmod +x /opt/ICA-AROMA/ICA_AROMA.py
ENV PATH=/opt/ICA-AROMA:$PATH
ENV PATH="/opt/ICA-AROMA:$PATH" \
AROMA_VERSION="0.4.4-beta"

# Installing and setting up miniconda
RUN curl -sSLO https://repo.continuum.io/miniconda/Miniconda3-4.5.11-Linux-x86_64.sh && \
Expand Down
3 changes: 2 additions & 1 deletion fmriprep/workflows/bold/confounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
.. autofunction:: init_ica_aroma_wf
"""
from os import getenv
from nipype.pipeline import engine as pe
from nipype.interfaces import utility as niu, fsl
from nipype.algorithms import confounds as nac
Expand Down Expand Up @@ -694,7 +695,7 @@ def _getusans_func(image, thresh):
TSV2JSON(index_column='IC', output=None, enforce_case=True,
additional_metadata={'Method': {
'Name': 'ICA-AROMA',
'Version': '0.3-beta'}}),
'Version': getenv('AROMA_VERSION', 'n/a')}}),
name='ica_aroma_metadata_fmt')

ds_report_ica_aroma = pe.Node(
Expand Down

0 comments on commit 7042c8d

Please sign in to comment.