Skip to content

Commit

Permalink
Type cast FreeSurferColorLUT as ColorMap
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Feb 23, 2024
1 parent 54c1132 commit 255244c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/colormaps/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
* with a few fixes.
*/

import FreeSurferColorLUTJson from "./FreeSurferColorLUT.json";
import {ColorMap} from "../reexport";

/**
* Full `FreeSurferColorLUT.txt` label color map.
*/
import FreeSurferColorLUT from "./FreeSurferColorLUT.json";

Object.freeze(FreeSurferColorLUT);
const FreeSurferColorLUT = Object.freeze(FreeSurferColorLUTJson) as ColorMap;

export { FreeSurferColorLUT };

0 comments on commit 255244c

Please sign in to comment.