list conversion
@@ -116,7 +116,7 @@ def extractions(inputfile, labels, output, chunksize, flag, n_cores: int = 1, ra
lbl_img = envi.open(lbl_file+'.hdr', lbl_file)
labels = lbl_img.read_band(0)
- un_labels = np.unique(labels)
+ un_labels = np.unique(labels).tolist()
nout = len(un_labels)
