ManasSharma07 commited on
Commit
c703345
·
verified ·
1 Parent(s): d4dab61

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -1282,7 +1282,7 @@ if atoms is not None:
1282
  st.components.v1.html(opt_view._make_html(), width=400, height=400)
1283
 
1284
  with tempfile.NamedTemporaryFile(delete=False, suffix=".xyz", mode="w+") as tmp_file_opt:
1285
- write(tmp_file_opt.name, calc_atoms, format="xyz")
1286
  tmp_filepath_opt = tmp_file_opt.name
1287
 
1288
  with open(tmp_filepath_opt, 'r') as file_opt:
 
1282
  st.components.v1.html(opt_view._make_html(), width=400, height=400)
1283
 
1284
  with tempfile.NamedTemporaryFile(delete=False, suffix=".xyz", mode="w+") as tmp_file_opt:
1285
+ write(tmp_file_opt.name, calc_atoms, format="extxyz")
1286
  tmp_filepath_opt = tmp_file_opt.name
1287
 
1288
  with open(tmp_filepath_opt, 'r') as file_opt: