From 9c9c2277d478b7e23c0bcfd4b3e29a6fc2238446 Mon Sep 17 00:00:00 2001 From: Rodrigo V Honorato Date: Mon, 13 May 2024 14:46:47 +0200 Subject: [PATCH] add missing fixme --- src/arctic3d/modules/pdb.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/arctic3d/modules/pdb.py b/src/arctic3d/modules/pdb.py index 0a4ac47..4ab531f 100644 --- a/src/arctic3d/modules/pdb.py +++ b/src/arctic3d/modules/pdb.py @@ -627,6 +627,8 @@ def validate_api_hit( exp_method = str(hit["experimental_method"]) if check_pdb: # check coverage value + + # FIXME: `coverage` can be None, so we should add a check here (?) assert coverage is not None if float(coverage) > coverage_cutoff: check_list.append(True) @@ -751,6 +753,8 @@ def get_maxint_pdb( if validated_pdbs != []: max_nint = 0 for curr_pdb, curr_cif_f, curr_hit in validated_pdbs: + + # FIXME: Can chain_id be None? assert isinstance(curr_hit["chain_id"], str) chain_id = curr_hit["chain_id"]