MetaCell / nwb-explorer

NWB Explorer is a web application to visualise and analyse the content of NWB:N 2 files
Other
22 stars 16 forks source link

Support loading downloaded files #306

Closed anhknguyen96 closed 1 year ago

anhknguyen96 commented 1 year ago

Hi, as far as I understand, right now NWBE supports loading files from URLs. However, I'm loading multiple files across different datasets in NWBE so being able to load files from a local computer would be convenient and streamlined for my purpose. I'd appreciate if this feature is added.

filippomc commented 1 year ago

Hi @anhknguyen96 this feature is supported by the new version of OpenSourceBrain -> https://v2.opensourcebrain.org. All you need is to create an account and a workspace. In the workspace can upload any resource with JupyterLab and all the resources in the workspace can be opened with NWB Explorer. Another option supported is to associate a dandi repository and load multiple files from there -- see also https://docs.opensourcebrain.org/OSBv2/Repositories.html#osbv2-repositories.

pgleeson commented 1 year ago

@anhknguyen96 I'm guessing you just want a quick way to view the files if you have them sitting locally? Do you have a local install of nwbe? If you did it would be quicker to load from your local machine. All you would have to do to get a url is to create a small server to serve your local files, e.g. serve: https://ubunlog.com/en/serve-comparte-red-local/ or quickserve: https://ostechnix.com/instantly-share-files-folders-arch-linux/

anhknguyen96 commented 1 year ago

Hi, thanks for all the suggestion. I resorted to using serve. One thing I notice, however, is that files are downloaded twice to 2 folders (.workspace and ./workspace/workspace). What's the purpose of the duplicate download?

pgleeson commented 1 year ago

Good question... Tried that locally and it is indeed making 2 local copies. Any idea @filippomc?

anhknguyen96 commented 1 year ago

I think this issue mentioned it #264

filippomc commented 1 year ago

Bug opened: https://github.com/MetaCell/nwb-explorer/issues/309

pgleeson commented 1 year ago

Closing this as I believe it has been addressed. Separate issue of downloading twice has been opened...