Skip to content

cmp package in /nipype/workflows/dmri/mrtrix/group_connectivity.py #1106

Open
@jpellman

Description

@jpellman

Hi,

In one of the dMRI workflows I noticed the following set of lines:

try:
package_check('cmp')
except Exception, e:
warnings.warn('cmp not installed')
else:
import cmp

However, 'cmp' never seems to actually be used. Is this code legacy, or is there something that I'm missing? I know that cmp is optional (as per https://neurostars.org/p/2960/ ) so I've been ignoring the warning, but it seems entirely unnecessary if group_connectivity.py isn't using cmp at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions