diff --git a/prody/database/pfam.py b/prody/database/pfam.py index 8c94632ca..f60654eac 100644 --- a/prody/database/pfam.py +++ b/prody/database/pfam.py @@ -432,5 +432,5 @@ def parsePfamPDBs(query, data=[], **kwargs): else: LOGGER.warn('data should be a list in order to get output') - return results + return [result for result in results if result is not None]