capsul.utils module¶
Utilities to find processes
Functions¶
Functions¶
get_nipype_interfaces_versions()
¶
-
capsul.utils.version_utils.
get_nipype_interfaces_versions
()[source]¶ Get the versions of the nipype interfaces.
If nipype is not found, return None. If no interfaces are configured, returned an empty dictionary.
Returns: versions – a dictionary with interface names as keys and corresponding versions as values. Return type: dict
-
capsul.utils.version_utils.
get_tool_version
(tool)[source]¶ Get the version of a python tool.
Check if the python tool module has a ‘__version__’ attribute and return this value. If this attribute is not found, return None.
Parameters: tool (str (mandatory)) – a tool name Returns: version – the tool version, None if no information found in the module. Return type: str