-
Notifications
You must be signed in to change notification settings - Fork 6
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
Standalone viewer app defaults to downsample on Z #362
Conversation
Some of the unit tests are also using 'int' instead of 'round' which is why the gh-actions are failing. |
This PR fixes #359 by moving some functionality to |
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.
I approve of the changes, except when I run locally I get the error:
_______________________________ TestViewerMainWindow.test_all ________________________________
self = <test.test_viewer_main_windows.TestViewerMainWindow testMethod=test_all>
def test_all(self):
global _instance
if _instance is None:
> _instance = QApplication(sys.argv)
E RuntimeError: Please destroy the QApplication singleton before creating a new QApplication instance.
test_viewer_main_windows.py:42: RuntimeError
FAILED test_viewer_main_windows.py::TestViewerMainWindow::test_all - RuntimeError: Please destroy the QApplication singleton before creating a new QApplication...
Possibly the failure is due to #367 |
The standalone app now defaults to downsample in all 3 dimensions, unless it's loading an HDF5 where it can infer that we are importing acquisition data.
closes #359