Sukanyaaa commited on
Commit
1405a8b
·
1 Parent(s): ea3271d

fix inference_app.py

Browse files
Files changed (1) hide show
  1. inference_app.py +12 -12
inference_app.py CHANGED
@@ -919,18 +919,18 @@ def predict (input_seq_1, input_msa_1, input_protein_1, input_seq_2,input_msa_2,
919
  # return an output pdb file with the protein and two chains A and B.
920
  # also return a JSON with any metrics you want to report
921
  metrics = {"mean_plddt": 80, "binding_affinity": 2}
922
- native = './test_out (1).pdb'
923
- decoys = out_pdb
924
- bdq = BiotiteDockQ(
925
- native=native, decoys=decoys,
926
- # These are optional and if not specified will be assigned based on number of atoms (receptor > ligand)
927
- native_receptor_chain=R_chain,
928
- native_ligand_chain=L_chain,
929
- decoy_receptor_chain=R_chain,
930
- decoy_ligand_chain=L_chain,
931
- )
932
- dockq = bdq.calculate()
933
- metrics['DockQ'] = dockq
934
  end_time = time.time()
935
  run_time = end_time - start_time
936
 
 
919
  # return an output pdb file with the protein and two chains A and B.
920
  # also return a JSON with any metrics you want to report
921
  metrics = {"mean_plddt": 80, "binding_affinity": 2}
922
+ # native = './test_out (1).pdb'
923
+ # decoys = out_pdb
924
+ # bdq = BiotiteDockQ(
925
+ # native=native, decoys=decoys,
926
+ # # These are optional and if not specified will be assigned based on number of atoms (receptor > ligand)
927
+ # native_receptor_chain=R_chain,
928
+ # native_ligand_chain=L_chain,
929
+ # decoy_receptor_chain=R_chain,
930
+ # decoy_ligand_chain=L_chain,
931
+ # )
932
+ # dockq = bdq.calculate()
933
+ # metrics['DockQ'] = dockq
934
  end_time = time.time()
935
  run_time = end_time - start_time
936