diff --git a/modules/seq/alg/pymod/__init__.py b/modules/seq/alg/pymod/__init__.py index 9907b011f611aa8f1e65624ceb7389980a0438e8..bd108a603824b5e3379c34c440131a405da781af 100644 --- a/modules/seq/alg/pymod/__init__.py +++ b/modules/seq/alg/pymod/__init__.py @@ -88,7 +88,7 @@ def AlignToSEQRES(chain, seqres, try_resnum_first=False, validate=True): from ost import seq from ost import mol from ost import LogWarning - view=chain.Select('ligand=false and peptide=true') + view=chain residues=view.residues if len(residues)==0: return seq.CreateAlignment()