-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Is your feature request related to a problem? Please describe.
We should decide which, and how, to expose the various BrainGlobe tools included in the meta-package to users.
We should also document the new names/aliases of the tools.
Describe the solution you'd like
Users should be able to select the tool they wish to use from methods within the brainglobe
namespace, which we can achieve in the manner described in Adam's comment here.
Describe alternatives you've considered
We could also expose all the (user-facing) sub-packages in __init__.py
which has the advantage of not making the sub-package documentation redundant (until it relocates to the new website of course, when we can update our pointers accordingly).
brainglobe/__init__.py
import cellfinder-core as cellfinder
import brainreg
Then users would still have access to every public-facing tool, but the under-the-hood packages can remain hidden and we can reorganise them as we see fit.
import bg.cellfinder
# Do cellfinder things with bg.cellfinder, without ever worrying about cellfinder-core being there under-the-hood.