Skip to content

Commit

Permalink
add missing fixme
Browse files Browse the repository at this point in the history
  • Loading branch information
rvhonorato committed May 13, 2024
1 parent 457b709 commit 9c9c227
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/arctic3d/modules/pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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"]

Expand Down

0 comments on commit 9c9c227

Please sign in to comment.