-
Notifications
You must be signed in to change notification settings - Fork 3
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
access local files via matlab #171
Comments
Hi, To understand better what is going on, I'd like to ask for some more information.
This toolbox will create a local folder on your computer (typically in Documents/MATLAB/Brain Observatory Toolbox Cache) and this is were files will be saved. In addition to the downloaded NWB files, there will also be a OC_Manifest.mat and CC_Manifest.mat. Are these files also present in your external folder when you run the code above and the NWB file is re-downloaded? |
|
I still do not understand fully what is going on, but did the file download complete before? It is possible that the file is there, but if the download did not complete till the end, it will try to re-download. Also, I have a suspicion: if you would type And comment out the following line: Would it work then? |
I realize I did not answer this question directly:
This is the intention of how the toolbox should work, but it seems that in your case something either prevented the file from being downloaded completely, or prevented it from being properly registered as available offline |
I tried commenting our 144 and I also added some breakpoint inside of that function. It turns out, it crashes in cache.m function. I think it is related to my server's security settings and is there any way to download 1 example dataset where I can have an access to the all optional fields and with using bot.getSessions function I can access it and use the rest of the +bot functions/scripts. |
Unless I know exactly where the code fails, I am not sure how to advice you best. If the download is successful, the cache should be updated and the data should be available for later access. If this does not happen, there might be a bug and this should be investigated. However, if the download is interrupted somehow, then it will be impossible to access the file. It is possible to download the data directly from the Allen Brain Observatory S3 bucket, but there is no good solution in the Brain Observatory Toolbox for updating the cache to specify that the file is present. |
Hi everyone,
For teaching purposes, I would like to download some nwb files to the external folder and use the getSession function to load files. Whenever I want to run the code below, even though there is a file in the desired location, it tries to download it.
My main motivation is to have a classroom with many computers without internet access. Is there any way to reach the local files and use the same code environment?
The text was updated successfully, but these errors were encountered: