diff --git a/actions/ost-compare-structures b/actions/ost-compare-structures index 526c01884792fa2b2be2c2048ff4d5f866879574..6756cfe538a4f849dc424893d24e2213e85da7a6 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()