From f21f2f2e44e465b47da513394829ecdb22ac6f36 Mon Sep 17 00:00:00 2001 From: James Krieger Date: Fri, 8 Nov 2024 17:13:34 +0000 Subject: [PATCH] no checkIdentifiers for format emd as can be longer --- prody/proteins/localpdb.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/prody/proteins/localpdb.py b/prody/proteins/localpdb.py index a28cd74b5..a451f9938 100644 --- a/prody/proteins/localpdb.py +++ b/prody/proteins/localpdb.py @@ -212,12 +212,15 @@ def fetchPDB(*pdb, **kwargs): if len(pdb) == 1 and isinstance(pdb[0], list): pdb = pdb[0] - identifiers = checkIdentifiers(*pdb) - folder = kwargs.get('folder', '.') compressed = kwargs.get('compressed') format_ = kwargs.get('format', 'pdb') + if format_ != 'emd': + identifiers = checkIdentifiers(*pdb) + else: + identifiers = pdb + # check *folder* specified by the user, usually pwd ('.') filedict = findPDBFiles(folder, compressed=compressed, format=format_)