Skip to content

Conversation

@kabilar
Copy link
Member

@kabilar kabilar commented Jan 23, 2026

@kabilar kabilar requested a review from waxlamp January 23, 2026 20:15
@kabilar kabilar self-assigned this Jan 23, 2026
Copy link
Member

@yarikoptic yarikoptic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks reasonable , lets do it!

@yarikoptic
Copy link
Member

if no objections from @dandi/archive-maintainers voiced, I will merge some time not too early next week

@yarikoptic yarikoptic added the UX Affects usability of the system label Feb 6, 2026
regex: /\.nii(\.gz)?$/,
maxsize: Infinity,
endpoint:
"https://neurosift.app/dandiset/$dandiset_id$?tab=$asset_path$",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain why the path is needed for Neurosift? Typically, the API yields file contents through the asset_url value.

(I bring this up because I'm always wary when we expand this "API", especially since we're always seeming to do so in an ad hoc way.)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC it is because neurosift indexes entire dandisets via lindi and refer to them by original path...

@magland is that correct or we could refer also by an asset id?

Copy link
Member Author

@kabilar kabilar Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't able to construct a Neurosift URL with the DANDI asset_url so that the .nii.gz is displayed. Perhaps I am doing something wrong, or in fact Neurosift does just need the path for visualization in NiiVue.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yarikoptic neurosift/lindi only indexes public nwb files, and does not use the path.

In this case, it's BIDS... right? So the path is used to refer to the .nii.gz file, correct?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, in this case, it needs the path, not the asset url.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

UX Affects usability of the system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants