From a0c4a4ca03627968374bc2634884a2c0fb217c8f Mon Sep 17 00:00:00 2001 From: Gerardo Tauriello <gerardo.tauriello@unibas.ch> Date: Fri, 9 Nov 2018 16:58:31 +0100 Subject: [PATCH] SCHWED-3845: Fix Select in ost-compare-structures. --- actions/ost-compare-structures | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/actions/ost-compare-structures b/actions/ost-compare-structures index 526c01884..6756cfe53 100644 --- a/actions/ost-compare-structures +++ b/actions/ost-compare-structures @@ -513,10 +513,10 @@ def _ReadStructureFile(path, c_alpha_only=False, fault_tolerant=False, """ def _Select(entity): - selection_message = "Selecting %s" % selection if selection: - ost.LogInfo(selection_message) - entity = entity.Select(selection) + ost.LogInfo("Selecting %s" % selection) + ent_view = entity.Select(selection) + entity = mol.CreateEntityFromView(ent_view, False) return entity entities = list() -- GitLab