Closed natacha-beck closed 1 year ago
Fixed in latest commit https://github.com/aces/cbrain/commit/001bb92a98fb50d0ddab99280f82e8fe2b02f411
I'm re-opening this because I realized that the old code had support for some viewers which were available even when the userfile is not synced. It's probably very rare and maybe not even used, though. So I need to check existing viewers to see which ones are like that.
The ONLY place where we have a viewer with direct data provider streaming is in the MacaccCollection (yes, spelled correctly), which is no longer supported anyway. So we're good I think.
When looking at a file viewable by BrainBrowser that is not locally sync I get the following issue:
My suggestion is to look if the file is locally sync at l278 of
app/views/userfiles/show.html.erb
, here: https://github.com/aces/cbrain/blob/master/BrainPortal/app/views/userfiles/show.html.erb#L279