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 d6bd589 commit 931b9b7Copy full SHA for 931b9b7
tools/converter.py
@@ -9,6 +9,7 @@
9
import inspect
10
import click
11
import warnings
12
+import functools
13
14
sys.path.append(str(Path(__file__).resolve().parent.parent / 'specs'))
15
import callables
@@ -430,6 +431,7 @@ def create_pydra_spec(interface_name, module_name):
430
431
raise Exception(f"the specification file doesn't exist for the module {module_name},"
432
f"create the specification file in {spec_file.parent}")
433
434
+ @functools.lru_cache()
435
def all_interfaces(module):
436
nipype_module = getattr(fsl, module)
437
all_specs = [el for el in dir(nipype_module) if "InputSpec" in el]
0 commit comments