-
Notifications
You must be signed in to change notification settings - Fork 19
Adds MRI previewer for NIFTY (.nii) file format. #241
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
Conversation
|
There is a problem ... since I moved the previewer from custom/public/ into public/ the gzipped versions of the images don't work (the previewer doesn't load at all). On my deployment where the previewer is in custom/, a file with extension .nii.gz loads the previewer as expected, but nothing happens on the deployment I'm testing this PR with. I don't know how to debug such a thing... the javascript console doesn't show any errors. |
I have the same problem. I manually unzipped them and it worked fine. What do you have in your custom mimetypes.conf on your deployment? In this pr you have only included |
I don't see anything else with mimetypes in the working version in custom. You can see it all here: The only other thing I can think of is that the working version is using the official docker images but I rebuilt the clowder image to test this (from whatever was on master yesterday). FYI here is what it looks like in the working version, the mimetype is just |
|
|
lmarini
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added application/gzip to the file types it triggers on and everything worked well with my test example. Also added changelog and your name to contributing. Thank you!

Description
Adds an MRI previewer that is being used on the PigBrainMRI project with Dilger's lab. See the README.md in the previewer directory for details.
Review Time Estimate
Types of changes
Checklist: