We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1b8ccc commit 577338dCopy full SHA for 577338d
clabtoolkit/freesurfertools.py
@@ -3991,14 +3991,6 @@ def surf2vol(
3991
# print them as integer numbers
3992
unique_vals = unique_vals.astype(int)
3993
3994
- fs_colortable = os.path.join(
3995
- os.environ.get("FREESURFER_HOME"), "FreeSurferColorLUT.txt"
3996
- )
3997
- lut_dict = cltparc.Parcellation.read_luttable(in_file=fs_colortable)
3998
- fs_codes = lut_dict["index"]
3999
- fs_names = lut_dict["name"]
4000
- fs_colors = lut_dict["color"]
4001
-
4002
values, idx = cltmisc.ismember_from_list(fs_codes, unique_vals.tolist())
4003
4004
# select the fs_names and fs_colors in the indexes idx
0 commit comments