-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Standardise package structure and add tests (#57)
* Standardise tooling and package structure * Add more assertions to the cellfinder xml reader test * remove boilerplate comment * Move cellfinder dir reader into workflows directory * remove unused function * restructure tests * Add more assertions for writer test * Expand cellfinder xml writer tests * Test loading other files * Add unit tests * Add test for layer naming * Move xml test data * Add brainreg reader tests * Add whole brain cell detection & registration tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * lint * Remove check for executables * replace np.random.random with Generator * Update GH workflow * Update tests/tests/test_integration/test_cellfinder_reader.py Co-authored-by: Alessandro Felder <[email protected]> * update pre-commit * update pre-commit --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Alessandro Felder <[email protected]>
- Loading branch information
1 parent
3e910f4
commit 3ca66b2
Showing
42 changed files
with
2,425 additions
and
407 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
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 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 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 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,5 +1,7 @@ | ||
from importlib_metadata import version | ||
from importlib.metadata import PackageNotFoundError, version | ||
|
||
__version__ = version("brainglobe-napari-io") | ||
__author__ = "Adam Tyson" | ||
__license__ = "BSD-3-Clause" | ||
try: | ||
__version__ = version("brainglobe-napari-io") | ||
except PackageNotFoundError: | ||
# package is not installed | ||
pass |
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 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
Oops, something went wrong.