Skip to content

Commit c93922f

Browse files
committed
strip out all nipype imports
1 parent d65b784 commit c93922f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype2pydra/task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ def add_import(stmt):
767767
add_import("from pathlib import Path")
768768
for test in self.tests:
769769
for stmt in test.imports:
770-
if stmt.module.startswith("nipype.testing"):
770+
if "nipype" in stmt.module:
771771
continue
772772
if stmt.name is None:
773773
add_import(f"import {stmt.module}")

0 commit comments

Comments
 (0)