Skip to content

Commit 5d5b065

Browse files
authoredOct 31, 2024··
FIX: Gracefully warn when no motion components are found (#83)
1 parent 8cba0aa commit 5d5b065

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
 

‎.zenodo.json

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
},
1919
{
2020
"name": "Caballero Gaudes, Cesar"
21+
},
22+
{
23+
"affiliation": "Department of Psychology, University of Southern California",
24+
"name": "Zimmerman, Jacob C.",
25+
"orcid": "0000-0002-6010-8086"
2126
}
2227
],
2328
"creators": [

‎src/fmripost_aroma/interfaces/confounds.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def _get_ica_confounds(mixing, aroma_features, skip_vols, newpath=None):
9191

9292
# Return dummy list of ones if no noise components were found
9393
if motion_ics.size == 0:
94-
config.loggers.interfaces.warning('No noise components were classified')
94+
config.loggers.interface.warning('No noise components were classified')
9595
return None, mixing_out
9696

9797
# return dummy lists of zeros if no signal components were found

0 commit comments

Comments
 (0)
Please sign in to comment.