We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7ceccf commit 03e29d3Copy full SHA for 03e29d3
fmriprep/config.py
@@ -102,9 +102,9 @@
102
warnings.filterwarnings('ignore', 'cmp not installed')
103
warnings.filterwarnings('ignore', 'This has not been fully tested. Please report any failures.')
104
warnings.filterwarnings('ignore', "can't resolve package from __spec__ or __package__")
105
-warnings.simplefilter('ignore', DeprecationWarning)
106
-warnings.simplefilter('ignore', FutureWarning)
107
-warnings.simplefilter('ignore', ResourceWarning)
+warnings.filterwarnings('ignore', category=DeprecationWarning)
+warnings.filterwarnings('ignore', category=FutureWarning)
+warnings.filterwarnings('ignore', category=ResourceWarning)
108
109
110
try:
0 commit comments