simonduerr commited on
Commit
4fab10d
·
1 Parent(s): 07f5897

fix writing of view matrix

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ import cellscape
11
  def predict(input_mol, view_str, chains):
12
  # write view to file
13
  with open("view_matrix", "w") as f:
14
- f.write(view_str[1:-1])
15
 
16
  chain_str = ""
17
  chain_dict = json.loads(chains)
 
11
  def predict(input_mol, view_str, chains):
12
  # write view to file
13
  with open("view_matrix", "w") as f:
14
+ f.write(json.loads(view_str))
15
 
16
  chain_str = ""
17
  chain_dict = json.loads(chains)