Closed marcenko closed 3 years ago
The gene names are now stored with the source code for efficiency.
The gene names are now stored with the source code for efficiency.
Hmm, not sure what you mean here. My understanding is that gene labels are subject to change, we shouldn't hard-code them.
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?
should be adressed together with #22, will extend #22 and close this one.
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.