-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add save option on analysis #114
Conversation
Preview page for your plugin is ready here: |
This needs tests, will probably build on top of #115 to simplify things |
This PR has got slightly complicated as I needed to fix some tests before I could write new ones. I haven't split this up into two PRs @alessandrofelder, but let me know if you have any issues reviewing. What I've done is:
|
There are some remaining test failures with napari 0.4.18 so I will look into those |
@alessandrofelder this is ready for review. TBH I'm a bit bored of this PR. It was meant to take 10 minutes, but I started it two weeks ago. I've had to add some Interested in your thoughts. |
As pointed out, this is a hacky solution, and carries the risk that on slower machines (don't know how slow they would have to be) 3 seconds is not enough to save the data and the test will fail there. In the interest of adding the additional saving button and not losing (more) momentum, I think we should still merge. Apart from the I have two further related comments that I can make into issues if you agree @adamltyson lmk a possible long-term solutionI think a better long-term solution would be to:
This would ensure cleaner separation between
naming of testing modulesAs a side note, some of the naming in the tests is a bit confusing:
Can we improve the naming somehow? |
Thanks @alessandrofelder. I've renamed the tests slightly, and raised #120 |
Yup, just had to increase this. I'm ok with the tests taking an extra 30s for now, but this is not sustainable. |
Closes #111
Also closes #116