From e07626fcfe5eb2dc2907fce91c87bfde8848a40e Mon Sep 17 00:00:00 2001 From: Jennings Zhang Date: Wed, 7 Feb 2024 10:50:06 -0500 Subject: [PATCH] Comment out unused canonicalizeNvrMesh --- src/NiivueMutator.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/NiivueMutator.ts b/src/NiivueMutator.ts index 09ac8ec..e5e43fb 100644 --- a/src/NiivueMutator.ts +++ b/src/NiivueMutator.ts @@ -213,18 +213,18 @@ class NiivueMutator { } } -/** - * Converts to `LoadFromUrlParams` (which is not exported by niivue). - */ -function canonicalizeNvrMesh(mesh: NVRMesh): HasUrlObject { - if (mesh.layers) { - return { - ...mesh, - layers: Object.values(mesh.layers), - }; - } - return mesh; -} +// /** +// * Converts to `LoadFromUrlParams` (which is not exported by niivue). +// */ +// function canonicalizeNvrMesh(mesh: NVRMesh): HasUrlObject { +// if (mesh.layers) { +// return { +// ...mesh, +// layers: Object.values(mesh.layers), +// }; +// } +// return mesh; +// } /** * Wrapper around `Object.entries` with safe type coercion of the keys to `keyof T`.