From 516ac87e15281bc87c9295a3808276684bc6b8b0 Mon Sep 17 00:00:00 2001 From: Eric Pettersen Date: Tue, 3 Oct 2023 10:47:44 -0700 Subject: [PATCH] Commit to allow work from home --- src/bundles/seq_view/src/associations_tool.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/bundles/seq_view/src/associations_tool.py b/src/bundles/seq_view/src/associations_tool.py index ac11b9244c..9e6b6d8b7b 100644 --- a/src/bundles/seq_view/src/associations_tool.py +++ b/src/bundles/seq_view/src/associations_tool.py @@ -20,15 +20,22 @@ def __init__(self, sv, tool_window): self.tool_window = tool_window tool_window.help = "help:user/tools/sequenceviewer.html#association" - from Qt.QtWidgets import QHBoxLayout, QVBoxLayout, QLabel + from Qt.QtWidgets import QHBoxLayout, QVBoxLayout, QLabel, QWidget layout = QHBoxLayout() + + # Widgets for multi-sequence alignment + multi_seq_area = QWidget() + layout.addWidget(multi_seq_area) + ms_layout = QHBoxLayout() + multi_seq_area.setLayout(ms_layout) + from chimerax.atomic.widgets import ChainListWidget self.chain_list = ChainListWidget(sv.session, autoselect='single') self.chain_list.value_changed.connect(self._chain_changed) - layout.addWidget(self.chain_list) + ms_layout.addWidget(self.chain_list) menu_layout = QVBoxLayout() - layout.addLayout(menu_layout) + ms_layout.addLayout(menu_layout) self.pick_a_chain = QLabel("Choose one or more\nchains from the left") menu_layout.addWidget(self.pick_a_chain)