Skip to content

Commit c3c6895

Browse files
committed
Merge tag '23.1.2'
23.1.2 (June 16, 2023) Bug fix release in the 23.1.x series. This release correctly generates ``*_space-fsLR_desc-reg_sphere.surf.gii``, which was previously a copy of the standard ``*_desc-reg_sphere.surf.gii``. Additionally, warnings are now correctly emitted when AROMA-related CLI options are used. * CI: Clean up pre-release builds (#3040)
2 parents dda50dd + b0d8bcf commit c3c6895

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

CHANGES.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
23.1.2 (June 16, 2023)
2+
======================
3+
4+
Bug fix release in the 23.1.x series.
5+
6+
This release correctly generates ``*_space-fsLR_desc-reg_sphere.surf.gii``,
7+
which was previously a copy of the standard ``*_desc-reg_sphere.surf.gii``.
8+
Additionally, warnings are now correctly emitted when AROMA-related CLI
9+
options are used.
10+
11+
* CI: Clean up pre-release builds (#3040)
12+
13+
114
23.1.1 (June 14, 2023)
215
======================
316

fmriprep/cli/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def main():
5050
config.workflow.aroma_melodic_dim,
5151
)
5252
):
53-
warnings.warn(
53+
config.loggers.cli.warning(
5454
"ICA-AROMA was removed in fMRIPrep 23.1.0. The --use-aroma, --aroma-err-on-warn, "
5555
"and --aroma-melodic-dim flags will error in fMRIPrep 24.0.0."
5656
)

fmriprep/config.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -604,9 +604,10 @@ def init(cls):
604604
"""
605605
from nipype import config as ncfg
606606

607-
_handler = logging.StreamHandler(stream=sys.stdout)
608-
_handler.setFormatter(logging.Formatter(fmt=cls._fmt, datefmt=cls._datefmt))
609-
cls.cli.addHandler(_handler)
607+
if not cls.cli.hasHandlers():
608+
_handler = logging.StreamHandler(stream=sys.stdout)
609+
_handler.setFormatter(logging.Formatter(fmt=cls._fmt, datefmt=cls._datefmt))
610+
cls.cli.addHandler(_handler)
610611
cls.default.setLevel(execution.log_level)
611612
cls.cli.setLevel(execution.log_level)
612613
cls.interface.setLevel(execution.log_level)

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ six==1.16.0
294294
# apscheduler
295295
# isodate
296296
# python-dateutil
297-
smriprep==0.12.0
297+
smriprep==0.12.1
298298
# via fmriprep (pyproject.toml)
299299
sqlalchemy==2.0.15
300300
# via pybids

0 commit comments

Comments
 (0)