-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update packages that are shipped (#37)
* Ship brainrender. Remove conda-checks that are currently not used, as we're not on conda * Add brainrender-napari * Remove morphapi
- Loading branch information
1 parent
337f118
commit 8b5112a
Showing
4 changed files
with
10 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,7 @@ | ||
from importlib.metadata import PackageNotFoundError, version | ||
|
||
from ._conda_handles import _CELLFINDER_INSTALLED, _MORPHAPI_INSTALLED | ||
|
||
try: | ||
__version__ = version("brainglobe") | ||
except PackageNotFoundError: | ||
except PackageNotFoundError as e: | ||
# package is not installed | ||
pass | ||
|
||
# Expose tools under the brainglobe namespace | ||
import bg_atlasapi | ||
import bg_space | ||
import brainreg | ||
import brainglobe_segmentation | ||
|
||
# Expose tools that may not be present | ||
# if a conda install was performed | ||
if _MORPHAPI_INSTALLED: | ||
# Import morphapi | ||
import morphapi | ||
|
||
# cellfinder and associated packages | ||
if _CELLFINDER_INSTALLED: | ||
import cellfinder_core |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.