diff options
author | Mark Sims <mark@nanorex.com> | 2008-12-25 00:55:59 +0000 |
---|---|---|
committer | Mark Sims <mark@nanorex.com> | 2008-12-25 00:55:59 +0000 |
commit | e0fa26c54a4e3ed9a9aa107c6b1939c05d99f699 (patch) | |
tree | ab9dd6d99e7b7164db9ab9e7309dc0eb62e967b9 | |
parent | 8a4f4bc8e80a74736c76d16c385579697392b08f (diff) | |
download | nanoengineer-theirix-e0fa26c54a4e3ed9a9aa107c6b1939c05d99f699.tar.gz nanoengineer-theirix-e0fa26c54a4e3ed9a9aa107c6b1939c05d99f699.zip |
Ignorable. Docstring and comment tweaks.
5 files changed, 5 insertions, 16 deletions
diff --git a/cad/src/protein/commands/BuildProtein/BuildProtein_GraphicsMode.py b/cad/src/protein/commands/BuildProtein/BuildProtein_GraphicsMode.py index 7dd29693b..312309c18 100644 --- a/cad/src/protein/commands/BuildProtein/BuildProtein_GraphicsMode.py +++ b/cad/src/protein/commands/BuildProtein/BuildProtein_GraphicsMode.py @@ -13,13 +13,13 @@ from commands.Select.Select_GraphicsMode import DRAG_STICKINESS_LIMIT DEBUG_CLICK_ON_OBJECT_ENTERS_ITS_EDIT_COMMAND = True _superclass = SelectChunks_GraphicsMode - class BuildProtein_GraphicsMode(SelectChunks_GraphicsMode): """ - Graphics mode for Edit Proteins command. + Graphics mode for Build Protein command. """ + def Enter_GraphicsMode(self): - print "*** in BuildProtein_GM.Enter_GraphicsMode" + print "*** in BuildProtein_GraphicsMode.Enter_GraphicsMode" _superclass.Enter_GraphicsMode(self) return diff --git a/cad/src/protein/commands/BuildProtein/BuildProtein_PropertyManager.py b/cad/src/protein/commands/BuildProtein/BuildProtein_PropertyManager.py index a7d2e8429..e548438df 100644 --- a/cad/src/protein/commands/BuildProtein/BuildProtein_PropertyManager.py +++ b/cad/src/protein/commands/BuildProtein/BuildProtein_PropertyManager.py @@ -9,12 +9,8 @@ BuildProtein_PropertyManager.py Mark 20081212: Heavily rewritten, modeled after BuildDna_PropertyManager.py. To do list: -- Include name of the current Peptide in the title of the Sequence Editor. -- Make sure PM and SeqEditor are updated correctly after selecting/editing - a peptide via the model tree. - Add "Edit Properties" menu item to GA context menu when highlighting Peptide. - Bug: Cannot edit a peptide loaded from an MMP file. -- Create a new PM for "Peptide Properties". - Read FASTA file via sequence editor (or another way). - Debug_pref for debug print statements. - Deprecate set_current_protein_chunk_name() and get_current_protein_chunk_name. diff --git a/cad/src/protein/commands/InsertPeptide/InsertPeptide_EditCommand.py b/cad/src/protein/commands/InsertPeptide/InsertPeptide_EditCommand.py index cc93183f6..d9940d2a8 100644 --- a/cad/src/protein/commands/InsertPeptide/InsertPeptide_EditCommand.py +++ b/cad/src/protein/commands/InsertPeptide/InsertPeptide_EditCommand.py @@ -128,7 +128,7 @@ class InsertPeptide_EditCommand(EditCommand): def _createStructure(self): """ - Build a Peptide sheet from the parameters in the Property Manager. + Build a peptide from the parameters in the Property Manager. """ # self.name needed for done message diff --git a/cad/src/protein/commands/InsertPeptide/InsertPeptide_PropertyManager.py b/cad/src/protein/commands/InsertPeptide/InsertPeptide_PropertyManager.py index 335a5b147..6a00b4d70 100755 --- a/cad/src/protein/commands/InsertPeptide/InsertPeptide_PropertyManager.py +++ b/cad/src/protein/commands/InsertPeptide/InsertPeptide_PropertyManager.py @@ -21,13 +21,6 @@ Urmi 20080731: Property Manager updated to support drawing proteins by clicking on two points. To do: -- The peptide trace isn't drawn correctly for: - - very short alpha helix - - beta strand - - pi helix (slightly off) - - polyproline-II helix - - fully extended - - Color amino acid buttons by class: - hydrophobic = pink - charged = light green diff --git a/cad/src/protein/commands/InsertPeptide/PeptideGenerator.py b/cad/src/protein/commands/InsertPeptide/PeptideGenerator.py index 00fd47dc8..916357ea8 100755 --- a/cad/src/protein/commands/InsertPeptide/PeptideGenerator.py +++ b/cad/src/protein/commands/InsertPeptide/PeptideGenerator.py @@ -841,7 +841,7 @@ class PeptideGenerator: #this code was re-factored by EricM and internal-to-cartesian # conversion method was moved to geometry.InternalCoordinatesToCartesian - if mol == None: + if mol is None: return if not init_pos: # assign three previous atom positions |