Skip to content

Commit

Permalink
Commit to allow work from home
Browse files Browse the repository at this point in the history
  • Loading branch information
e-pettersen committed Oct 3, 2023
1 parent 909387e commit 516ac87
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/bundles/seq_view/src/associations_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 516ac87

Please sign in to comment.