Skip to content

Commit ee384b9

Browse files
committed
Add chain_iptm as output
1 parent 1648d23 commit ee384b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

colabfold/batch.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,10 @@ def callback(result, recycles):
490490
del pae
491491
del plddt
492492
json.dump(scores, handle)
493+
494+
if "chain_iptm" in result:
495+
scores.update({"chain_iptm": np.around(result["chain_iptm"].astype(float), 4).tolist()})
496+
scores.update({"ptm_matrix": np.around(result["ptm_matrix"].astype(float), 4).tolist()})
493497

494498
del result, unrelaxed_protein
495499

0 commit comments

Comments
 (0)