CAVEconnectome / nglui

https://caveconnectome.github.io/nglui/
MIT License
10 stars 4 forks source link

documentation misnames site_config option #58

Open bpdanskin opened 11 hours ago

bpdanskin commented 11 hours ago

On documentation page: https://caveconnectome.github.io/nglui/usage/config/

from nglui import site_config, statebuilder

site_config.get_default_config()

should be

from nglui import site_utils, statebuilder

site_utils.get_default_config()

same for all uses of site_config on the page. Code otherwise works as intended

Edit to add: nglui version 3.6.2

bpdanskin commented 11 hours ago

Also, this errors with wrong argument name:

site_utils.set_default_config(datastack=CAVEclient('minnie65_public'))

the following works and updates both datastack_name and datastack


site_utils.set_default_config(datastack_name='minnie65_public')