Closed yarikoptic closed 9 months ago
Isn't cmp
in this context "CMTK Parcellation"?
Python 2 cmp
was a builtin, not imported.
Hi @yarikoptic @effigies thank you for your comments. I asked the question. For context, I have a Freesurfer output and am trying to compute the Lausanne parcellations using parcellate = cmtk.Parcellate(). The issue is that in the parcellation.py code, cmp is imported and used throughout (see example below). However, I am having issues using Python versions >3.0
I am unsure @effigies by what you mean in that cmp was a builtin. Thank you for your help.
cmp
in this context seems to be http://www.cmp.cmtk.org/, which includes a Python 2 library. You will not be able to use it with Python 3.
The Python builtin cmp was a function that you could run in Python 2. It does not exist in Python 3, but you also wouldn't import it.
Got pointed to it by a student at pbs@dartmouth -- boils down to still remaining delayed import of deprecated (removed in python 3)
cmp
: