annabossler commited on
Commit
16c8c8f
·
verified ·
1 Parent(s): 4ed9de7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -167,7 +167,7 @@ def md_wrapper(xyz_content, charge, spin, steps, tempK, timestep_fs, ensemble):
167
  )
168
  status = f"MD completed: {int(steps)} steps at {int(tempK)} K ({ensemble})"
169
 
170
- html_value = "" if (VIS_DISABLED or HAVE_MOL3D) else traj_to_html(traj_path)
171
  return (status, traj_path, log_text, script_text, explanation, html_value)
172
 
173
  except Exception as e:
 
167
  )
168
  status = f"MD completed: {int(steps)} steps at {int(tempK)} K ({ensemble})"
169
 
170
+ html_value = traj_to_html(traj_path) if not HAVE_MOL3D else ""
171
  return (status, traj_path, log_text, script_text, explanation, html_value)
172
 
173
  except Exception as e: