-
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
GUI improvements #13
Comments
I fixed the add and remove channels buttons, they are readable now. |
The acquisition settings object is saved when the plugin closes, and when the plugin opens the acquisition settings object is loaded and the gui is populated with it's values. Most of the gui controls are being initialized from the acquisition settings, but not all of them are. In the case of the data tab, the gui wasn't being initialized with the acquisition settings and the save path on the Datastore itself was not set correctly. I changed the createDatastore method to take the path as a string, it's now being created at the beginning of the acquisition. Do we need to close the Datastore at the end of an acquisition? It would be nice to incorporate the freeze method to prevent the Datastore from being modified after an acquisition as well. |
I removed the RAM datastore option from the radio button. I don't think there's any reason to have it, it was just left over from throwing things together. I haven't connected that part of the gui to the Datastore yet, it seems like users would want to be able to change between SINGLEPLANE and MULTIPAGE TIFF formats? |
I will think about a good solution for the acquisition engine to communicate with the user interface. Maybe having the acquisition engine emit a signal that gui can register to listen to, so the observer pattern, or Google event bus would work. |
Okay good to know. It might worthwhile to have the acquisitions settings save whenever they are changed in addition to when the plugin closes. This would, for example, mean settings aren't lost in case of a crash.
Right now its not using the Datastore interface, but rather going into NDTiff directly through its API, but I plan to add datastores shortly and this functionality as well.
Were single plane images used in the diSPIM plugin? I know that writing code is much slower than the multipage tiffs, so it may not be worth it to include it
Yes, I think that sounds good. The event bus should work, though I have found that code that uses it can be hard to debug. If its just a one or two functions, you might just consider adding API methods to the GUI directly |
@bls337 I thought it would helpful to keep track of GUI-realted things I run into while testing:
The text was updated successfully, but these errors were encountered: