From 42d90874ec87cd24fb319c63e8d076863169b7e0 Mon Sep 17 00:00:00 2001 From: James Krieger Date: Sun, 5 Nov 2023 18:28:36 +0100 Subject: [PATCH] not return None in parsePfamPDBs end --- prody/database/pfam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]