Skip to content

Commit

Permalink
no checkIdentifiers for format emd as can be longer
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Nov 8, 2024
1 parent 89d3a5f commit f21f2f2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions prody/proteins/localpdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_)
Expand Down

0 comments on commit f21f2f2

Please sign in to comment.