Skip to content

Commit

Permalink
Merge pull request #2298 from mgxd/fix/bold-logging
Browse files Browse the repository at this point in the history
FIX: Specify logger for warning
  • Loading branch information
mgxd authored Oct 8, 2020
2 parents 0c4280e + 4bccea5 commit 0b2cd6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fmriprep/workflows/bold/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def init_func_preproc_wf(bold_file):
echo_idxs = listify(entities.get("echo", []))
multiecho = len(echo_idxs) > 2
if len(echo_idxs) == 1:
config.loggers.warning(
config.loggers.workflow.warning(
f"Running a single echo <{ref_file}> from a seemingly multi-echo dataset."
)
bold_file = ref_file # Just in case - drop the list
Expand Down

0 comments on commit 0b2cd6f

Please sign in to comment.