-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standardise package structure and add tests #57
Conversation
for more information, see https://pre-commit.ci
|
||
def test_xml_write_no_metadata(tmp_path): | ||
xml_path = str(tmp_path / "points.xml") | ||
rng = np.random.default_rng() |
Check notice
Code scanning / SonarCloud
Results that depend on random number generation should be reproducible Low test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about a few very minor things, but should be good once you've considered.
Co-authored-by: Alessandro Felder <[email protected]>
Description
What is this PR
Why is this PR needed?
This package followed the napari cookiecutter, not the neuroinformatics one (as with the rest of BrainGlobe). While standardisation with the rest of the napari plugin ecosystem was good, I thought it was much more likely that NIU members will maintain this plugin rather than members of the wider napari ecosystem.
There was also a lack of tests (#7)
What does this PR do?
Restructures the package and updates the tooling to match the rest of the repos and adds some more tests.
References
Closes #7
How has this PR been tested?
Tests added
Is this a breaking change?
Nope
Does this PR require an update to the documentation?
Nope
Checklist: