File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 8
8
import sys
9
9
import warnings
10
10
11
- from nipype .interfaces .base import BaseInterface
12
-
13
11
import black
14
12
15
13
@@ -182,6 +180,8 @@ def test_specs(self, uri):
182
180
Returns
183
181
-------
184
182
"""
183
+ from nipype .interfaces .base import BaseInterface
184
+
185
185
# get the names of all classes and functions
186
186
_ , classes = self ._parse_module (uri )
187
187
if not classes :
@@ -324,7 +324,7 @@ def test_specs(self, uri):
324
324
and "xor" not in trait .__dict__
325
325
):
326
326
if (
327
- trait .trait_type .__class__ .__name__ is "Range"
327
+ trait .trait_type .__class__ .__name__ == "Range"
328
328
and trait .default == trait .trait_type ._low
329
329
):
330
330
continue
@@ -480,6 +480,7 @@ def check_modules(self):
480
480
481
481
482
482
if __name__ == "__main__" :
483
+ os .environ ["NIPYPE_NO_ET" ] = "1"
483
484
package = "nipype"
484
485
ic = InterfaceChecker (package )
485
486
# Packages that should not be included in generated API docs.
You can’t perform that action at this time.
0 commit comments