From 8a988fa325b1bba135349653d959b4a04bf58c56 Mon Sep 17 00:00:00 2001 From: Xavier Robin <xavalias-github@xavier.robin.name> Date: Mon, 13 May 2024 17:27:09 +0200 Subject: [PATCH] Make reading SEQRES optional in LoadMMCIF --- modules/io/pymod/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/io/pymod/__init__.py b/modules/io/pymod/__init__.py index 707c8de5e..89c1c3c8e 100644 --- a/modules/io/pymod/__init__.py +++ b/modules/io/pymod/__init__.py @@ -430,6 +430,7 @@ def LoadMMCIF(filename, fault_tolerant=None, calpha_only=None, try: ent = mol.CreateEntity() reader = MMCifReader(filename, ent, prof) + reader.read_seqres = seqres # NOTE: to speed up things, we could introduce a restrict_chains parameter # similar to the one in LoadPDB. Here, it would have to be a list/set -- GitLab