one.params¶
Funtions for modifying, loading and saving ONE and Alyx database parameters Scenarios:
Load ONE with a cache dir: tries to load the Web client params from the dir
Load ONE with http address - gets cache dir from the URL map
The ONE params comprise two files: a caches file that contains a map of Alyx db URLs to cache directories, and a separate parameter file for each url containing the client parameters. The caches file also sets the default client for when no url is provided.
TODO Rename ‘client’ kwarg
Functions
Default WebClient parameters |
|
Returns the AlyxClient parameters |
|
Returns the default AlyxClient URL, or None if no default is set. |
|
Return path to REST cache directory |
|