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 57bd5fe commit c77e00dCopy full SHA for c77e00d
nipype/interfaces/fsl/model.py
@@ -17,7 +17,6 @@
17
import os
18
from glob import glob
19
from shutil import rmtree
20
-from warnings import warn
21
22
import numpy as np
23
from nibabel import load
@@ -1076,7 +1075,7 @@ class ContrastMgr(FSLCommand):
1076
1075
corrections file is no longer generated by FILMGLS.
1077
"""
1078
if Info.version() and LooseVersion(Info.version()) >= LooseVersion("5.0.7"):
1079
- warn("ContrastMgr is deprecated in FSL 5.0.7+", DeprecationWarning)
+ DeprecationWarning("ContrastMgr is deprecated in FSL 5.0.7+")
1080
_cmd = 'contrast_mgr'
1081
input_spec = ContrastMgrInputSpec
1082
output_spec = ContrastMgrOutputSpec
0 commit comments