Skip to content

Commit

Permalink
Add chain_iptm as output
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmurail committed Jul 5, 2024
1 parent 1648d23 commit ee384b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions colabfold/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,10 @@ def callback(result, recycles):
del pae
del plddt
json.dump(scores, handle)

if "chain_iptm" in result:
scores.update({"chain_iptm": np.around(result["chain_iptm"].astype(float), 4).tolist()})
scores.update({"ptm_matrix": np.around(result["ptm_matrix"].astype(float), 4).tolist()})

del result, unrelaxed_protein

Expand Down

0 comments on commit ee384b9

Please sign in to comment.