Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I is an empty array, produced color maps are invalid #1

Open
jennydaman opened this issue Feb 21, 2024 · 1 comment
Open

I is an empty array, produced color maps are invalid #1

jennydaman opened this issue Feb 21, 2024 · 1 comment

Comments

@jennydaman
Copy link

Related issue: niivue/niivue#893

The created FreeSurferColorLUT.json has "I": [], which makes it an invalid colormap.

@jennydaman
Copy link
Author

Passing the value to setColormapLabel causes the error

Uncaught Error: colormap does not make sense: [object Object]
    makeLabelLut colortables.ts:98
    setColormapLabel index.ts:2292
    <anonymous> debugger eval code:1
colortables.ts:98:12
    makeLabelLut colortables.ts:98
    setColormapLabel index.ts:2292
    <anonymous> debugger eval code:1

neurolabusc added a commit that referenced this issue Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant