Skip to content
Snippets Groups Projects
Commit a0c4a4ca authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

SCHWED-3845: Fix Select in ost-compare-structures.

parent bffabd2b
No related branches found
No related tags found
No related merge requests found
...@@ -513,10 +513,10 @@ def _ReadStructureFile(path, c_alpha_only=False, fault_tolerant=False, ...@@ -513,10 +513,10 @@ def _ReadStructureFile(path, c_alpha_only=False, fault_tolerant=False,
""" """
def _Select(entity): def _Select(entity):
selection_message = "Selecting %s" % selection
if selection: if selection:
ost.LogInfo(selection_message) ost.LogInfo("Selecting %s" % selection)
entity = entity.Select(selection) ent_view = entity.Select(selection)
entity = mol.CreateEntityFromView(ent_view, False)
return entity return entity
entities = list() entities = list()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment