libokj commited on
Commit
6bf1a66
·
verified ·
1 Parent(s): 8a303fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -2302,23 +2302,23 @@ QALAHAYFAQYHDPDDEPVADPYDQSFESRDLLIDEWKSLTYDEVISFVPPPLDQEEMES
2302
  )
2303
 
2304
  drug_screen_clr_btn.click(
2305
- lambda: ['General'] + [None] * 5,
2306
- outputs=[drug_screen_target_family,
2307
  target_fasta, drug_screen_preset, drug_library, drug_library_upload, drug_screen_email])
2308
 
2309
  target_identify_clr_btn.click(
2310
- lambda: ['General'] + [None] * 5,
2311
- outputs=[target_identify_target_family,
2312
  compound_smiles, target_identify_preset, target_library, target_library_upload, target_identify_email])
2313
 
2314
  pair_infer_clr_btn.click(
2315
- lambda: ['General'] + [None] * 4,
2316
  outputs=[pair_infer_target_family,
2317
  infer_pair, infer_drug, infer_target, pair_infer_preset, pair_infer_email])
2318
 
2319
  report_clr_btn.click(
2320
- lambda: ['General'] + [None] * 4,
2321
- outputs=[scores,
2322
  target_fasta, drug_screen_preset, drug_library, drug_library_upload, drug_screen_email])
2323
 
2324
 
 
2302
  )
2303
 
2304
  drug_screen_clr_btn.click(
2305
+ lambda: ['General'] + [[]] + [None] * 5,
2306
+ outputs=[drug_screen_target_family, drug_screen_opts,
2307
  target_fasta, drug_screen_preset, drug_library, drug_library_upload, drug_screen_email])
2308
 
2309
  target_identify_clr_btn.click(
2310
+ lambda: ['General'] + [[]] + [None] * 5,
2311
+ outputs=[target_identify_target_family, target_identify_opts,
2312
  compound_smiles, target_identify_preset, target_library, target_library_upload, target_identify_email])
2313
 
2314
  pair_infer_clr_btn.click(
2315
+ lambda: ['General'] + [None] * 5,
2316
  outputs=[pair_infer_target_family,
2317
  infer_pair, infer_drug, infer_target, pair_infer_preset, pair_infer_email])
2318
 
2319
  report_clr_btn.click(
2320
+ lambda: [[]] * 3 + [None] * 5,
2321
+ outputs=[scores, filters, html_opts,
2322
  target_fasta, drug_screen_preset, drug_library, drug_library_upload, drug_screen_email])
2323
 
2324