summaryrefslogtreecommitdiff
path: root/cad/src/protein/ProteinSequenceEditor
diff options
context:
space:
mode:
authorMark Sims <mark@nanorex.com>2008-12-22 02:18:57 +0000
committerMark Sims <mark@nanorex.com>2008-12-22 02:18:57 +0000
commit33bddf0891338973556f01abe91ee2e678f77e3d (patch)
tree7cc9570b08f0d00e8c69ea67a7147fb15fd450ad /cad/src/protein/ProteinSequenceEditor
parentdcd7bc35fafd8987d1754bdcc88316cc6f78d26a (diff)
downloadnanoengineer-theirix-33bddf0891338973556f01abe91ee2e678f77e3d.tar.gz
nanoengineer-theirix-33bddf0891338973556f01abe91ee2e678f77e3d.zip
Diffstat (limited to 'cad/src/protein/ProteinSequenceEditor')
-rw-r--r--cad/src/protein/ProteinSequenceEditor/ProteinSequenceEditor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cad/src/protein/ProteinSequenceEditor/ProteinSequenceEditor.py b/cad/src/protein/ProteinSequenceEditor/ProteinSequenceEditor.py
index 7a6c91d44..068813554 100644
--- a/cad/src/protein/ProteinSequenceEditor/ProteinSequenceEditor.py
+++ b/cad/src/protein/ProteinSequenceEditor/ProteinSequenceEditor.py
@@ -612,14 +612,14 @@ class ProteinSequenceEditor(Ui_ProteinSequenceEditor):
# Provide amino acid info as cursor position changes
env.history.statusbar_msg("")
current_command = self.win.commandSequencer.currentCommand
- commandSet = ('EDIT_ROTAMERS', 'EDIT_RESIDUES')
+ commandSet = ('EDIT_PROTEIN', 'EDIT_RESIDUES')
if current_command.commandName not in commandSet:
return
aa_index = min(cursorPos, self.getSequenceLength() - 1)
- if current_command.commandName == 'EDIT_ROTAMERS':
+ if current_command.commandName == 'EDIT_PROTEIN':
current_command.propMgr.setCurrentAminoAcid(aa_index)
if current_command.commandName == 'EDIT_RESIDUES':
current_command.propMgr._sequenceTableCellChanged(aa_index, 0)