Radiomics error

I get the following error when I am using radiomics:

RadiomicsCLI standard error:

Traceback (most recent call last):
File “C:\Users\Andrea\AppData\Roaming\NA-MIC\Extensions-27030\SlicerRadiomics\Lib\Slicer-4.9\cli-modules\SlicerRadiomicsCLIScript”, line 6, in
from radiomics.scripts import commandline
ImportError: cannot import name commandline

Any help would be appreciated. Thank you.

@mgastall, This is indeed a bug in the module, it was caused by a recent update of the commandline interface in PyRadiomics, see also this PR.
I fixed this today in this commit, so it should work in tomorrow’s nightly build.

Thank you very much. Sorry for the basic question, however, I use editor to draw my ROI or label map. When I try to just use segment editor (as the slice fill in tool is very helpful which is not available in editor) a label map is not created (only a segment) so I cannot use radiomics or cad heterogeneity as it requires a label map. Thank you.

Export segmentation to labelmap using Segmentations module.

The SlicerRadiomics accepts both labelmaps and segments. The necessary conversion is handled by the module logic then.