Skip to content
Snippets Groups Projects
Commit 8c201a2f authored by Bienchen's avatar Bienchen
Browse files

Fixed smallish bug in SuperpositionDialog and again the example of the documentation

parent 352d2032
Branches
Tags
No related merge requests found
......@@ -40,6 +40,8 @@ class ChainComboBox(QComboBox):
QObject.connect(self,
SIGNAL('highlighted (const QString&)'),
self._HighlightChain)
else:
self.gfx = None
def focusOutEvent (self, event):
if self.gfx:
......@@ -113,7 +115,8 @@ class SuperpositionDialog(QDialog):
else:
scene.CenterOn(g2)
LogScript('RMSD: %.3f'%sd.rmsd)
if sd.rmsd != None:
LogScript('RMSD: %.3f'%sd.rmsd)
"""
def __init__(self, ent_one, ent_two, parent=None):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment