-
Notifications
You must be signed in to change notification settings - Fork 8
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
Deal gracefully with connection problems to remote repositories #4
Comments
The gene names are now stored with the source code for efficiency. |
Hmm, not sure what you mean here. |
If they change very frequently, we need to add them to the caching mechanism but remove them from the package loading sequence. If they change rarely, I still consider it a good solution to save them statically with the code. They are nonly used for autocompletion, so if the list is slightly outdated at times that's not really a problem, but we need to organize the maintenance. Do you have an estimate of the frequency of changes to the gene names? |
Happens quite seldom, but we should maybe catch the error if it happens.
---------- old comments ---------
Dickscheid, Timo
This is a very general thing. How shall we deal with a situation where the remote repositories could not be reached? Brainscapes works offline with cached data, but without a network connection on initial setup it doesn't quite make sense to use brainscapes. To be discussed, any opinions?
To provide a suggestion, I would distinguish some cases:
However, 2. has implications for the cache. We need to make sure we do not store an empty cache item that will be re-opened later on. If no cache item is generated, brainscapes will try to run the query again next time.
The text was updated successfully, but these errors were encountered: