-
Notifications
You must be signed in to change notification settings - Fork 9
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
Speed up tests (swc, plotting) #479
Conversation
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 a lot to critique here. Left only a couple comments. Feel free to merge this once adressed. :)
dirname = os.path.dirname(__file__) | ||
fname = os.path.join(dirname, "swc_files", "morph.swc") | ||
cell = jx.read_swc(fname, nseg=4) | ||
@pytest.fixture(scope="module") |
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.
This is awesome! I think we could even move them to a separate file, to make them available to all other tests. tests/conftest.py
.
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.
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.
Awesome! Good to go also from my side! @fabioseel let us know if/when we can merge it! Thanks a ton!
as Jonas is addressing the fixture issue you can merge it 👍 |
Awesome, thanks a ton! |
Main contributions:
minor contributions: