Skip to content

Commit 71b61ae

Browse files
authored
Merge pull request #2572 from kabilar/neuroglass
Add support to open NIfTI and Zarr assets in NeuroGlass ephemeral mode
2 parents f222f03 + 76b7bda commit 71b61ae

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

web/src/utils/externalServices.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ const EXTERNAL_SERVICES: ExternalService[] = [
7171
regex: /\.nii(\.gz)?$|\.zarr$/,
7272
maxsize: Infinity,
7373
endpoint: redirectNeuroglancerUrl,
74+
},
75+
76+
{
77+
name: "NeuroGlass",
78+
regex: /\.nii(\.gz)?$|\.(ome|nii)\.zarr$/,
79+
maxsize: Infinity,
80+
endpoint:
81+
"https://www.neuroglass.io/new?resource=$asset_dandi_url$",
7482
}
7583
];
7684

0 commit comments

Comments
 (0)