Skip to content

Commit

Permalink
not return None in parsePfamPDBs
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Nov 5, 2023
1 parent 2f304c0 commit 46470eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prody/database/pfam.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def parsePfamPDBs(query, data=[], **kwargs):
results = ags

if only_parse:
return results
return [result for result in results if result is not None]

LOGGER.progress('Extracting Pfam domains...', len(ags))
comma_splitter = re.compile(r'\s*,\s*').split
Expand Down

0 comments on commit 46470eb

Please sign in to comment.