Skip to content

Commit

Permalink
Update bg_atlasapi/__init__.py
Browse files Browse the repository at this point in the history
Co-authored-by: Will Graham <[email protected]>
  • Loading branch information
adamltyson and willGraham01 authored Jan 10, 2024
1 parent e68e1a3 commit d96b80d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions bg_atlasapi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
from importlib.metadata import PackageNotFoundError, version
from importlib.metadata import PackageNotFoundError, metadata

try:
__version__ = version("bg-atlasapi")
del version
__version__ = metadata("bg-atlasapi")["Version"]
__author__ = metadata("bg-atlasapi")["Author"]
del metadata
except PackageNotFoundError:

Check warning on line 7 in bg_atlasapi/__init__.py

View check run for this annotation

Codecov / codecov/patch

bg_atlasapi/__init__.py#L7

Added line #L7 was not covered by tests
# package is not installed
pass

Check warning on line 9 in bg_atlasapi/__init__.py

View check run for this annotation

Codecov / codecov/patch

bg_atlasapi/__init__.py#L9

Added line #L9 was not covered by tests

__author__ = "BrainGlobe Developers"


from bg_atlasapi.bg_atlas import BrainGlobeAtlas
from bg_atlasapi.list_atlases import show_atlases

0 comments on commit d96b80d

Please sign in to comment.