Loli-Killer commited on
Commit
825a784
β€’
1 Parent(s): eeaed35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -200,7 +200,8 @@ def str2coords(s):
200
 
201
  def update_st(inp, file):
202
  pdb = get_pdb(inp, file)
203
- return (molecule(pdb), pg.embed_coords(str2coords(pdb)))
 
204
 
205
 
206
  def update_nt(inp):
 
200
 
201
  def update_st(inp, file):
202
  pdb = get_pdb(inp, file)
203
+ new_coords = pass_through(pg.embed_coords(str2coords(pdb)), "pdb")
204
+ return (molecule(pdb), new_coords)
205
 
206
 
207
  def update_nt(inp):