Skip to content

Commit

Permalink
MNT: Warn that AROMA support will be removed in a future version (#2940)
Browse files Browse the repository at this point in the history
## Changes proposed in this pull request

Following recent discussion. ICA-AROMA is not necessary to do within the
fMRIPrep workflow, and it constrains our ability to upgrade to newer
versions of FSL and/or Python as the package is very sporadically
maintained. A better approach is to wrap ICA-AROMA as a post-fMRIPrep
app that takes a BOLD series in MNI152NLin6Asym space and produces the
outputs/reports we have up to now.

This change is not to be effected in the next release, in order to give
warning that this will happen.
  • Loading branch information
mgxd committed Jan 26, 2023
2 parents 5f42f5e + 95dd466 commit 02b8d2d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fmriprep/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def main():
"""Entry point."""
import gc
import sys
import warnings
from multiprocessing import Manager, Process
from os import EX_SOFTWARE
from pathlib import Path
Expand All @@ -41,6 +42,10 @@ def main():

parse_args()

# Deprecated flags
if config.workflow.use_aroma:
warnings.warn("ICA-AROMA support will be removed in fMRIPrep 23.1.0", FutureWarning)

# Code Carbon
if config.execution.track_carbon:
from codecarbon import OfflineEmissionsTracker
Expand Down

0 comments on commit 02b8d2d

Please sign in to comment.