Skip to content

Commit 13f506b

Browse files
skip missing residues when adding them to the zscore list
1 parent 037000a commit 13f506b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

conkit/plot/tools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ def get_zscores(model_distogram, predicted_cmap_dict, absent_residues, *metrics)
414414
if absent_residues and resnum in absent_residues:
415415
for zscore_metric in zscore_cmap_metrics:
416416
zscore_metric.append(np.nan)
417+
continue
417418

418419
neighbour_residues = model_distogram.find_residues_within(resnum, 10)
419420
for cmap_metric, zscore_metric in zip(metrics, zscore_cmap_metrics):

0 commit comments

Comments
 (0)