Skip to content
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

bug: mda widget broken on latest pymmcore-widgets #268

Closed
ianhi opened this issue Jul 27, 2023 · 1 comment
Closed

bug: mda widget broken on latest pymmcore-widgets #268

ianhi opened this issue Jul 27, 2023 · 1 comment

Comments

@ianhi
Copy link
Contributor

ianhi commented Jul 27, 2023

The following lines are now out of date and throwing errors as the corresponding objects no longer exist in pymmcore-widgets

self.channel_groupbox.setMinimumHeight(230)
self.checkBox_split_channels = QCheckBox(text="Split Channels")
self.checkBox_split_channels.toggled.connect(self._toggle_split_channel)
g_layout = cast(QGridLayout, self.channel_groupbox.layout())
g_layout.addWidget(self.checkBox_split_channels, 1, 0)
# TODO: stage_pos_groupbox should have a valueChanged signal
# and that should be connected to _toggle_checkbox_save_pos
self._save_groupbox.toggled.connect(self._toggle_checkbox_save_pos)
self.position_groupbox.valueChanged.connect(self._toggle_checkbox_save_pos)
self.channel_groupbox.valueChanged.connect(self._toggle_split_channel)

n.b. you need to be running pymmcore-plus/pymmcore-widgets#159 in order to get far enough to run into these errors.

@tlambert03
Copy link
Member

fixed with #269

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants