sagawa commited on
Commit
64c1665
1 Parent(s): 7f1194a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -10
app.py CHANGED
@@ -22,16 +22,13 @@ def predict_stability(model_choice, organism_choice, pdb_file=None, sequence=Non
22
 
23
 
24
  def get_foldseek_seq(pdb_path):
25
- try:
26
- parsed_seqs = get_struc_seq(
27
- "bin/foldseek",
28
- pdb_path,
29
- ["A"],
30
- process_id=random.randint(0, 10000000),
31
- )["A"]
32
- return parsed_seqs
33
- except:
34
- return None
35
 
36
 
37
  # Gradio Interface
 
22
 
23
 
24
  def get_foldseek_seq(pdb_path):
25
+ parsed_seqs = get_struc_seq(
26
+ "bin/foldseek",
27
+ pdb_path,
28
+ ["A"],
29
+ process_id=random.randint(0, 10000000),
30
+ )["A"]
31
+ return parsed_seqs
 
 
 
32
 
33
 
34
  # Gradio Interface