{# 3D 结构区块:单对页(合并布局)与旧调用方共用(id/类名保持原样)。 页面自行决定是否引入 molstar.js / structure.js;本 partial 只提供 DOM 与配置。 #} {% set recorded = run_meta if run_meta else None %} {% set top_name = topology_name | default((topology or "").split("/")[-1], true) %} {% set traj_name = trajectory_name | default((trajectory or "").split("/")[-1], true) %}
structure source · {% if has_structure %}{{ top_name }} + {{ traj_name }}{% elif recorded %}from h5 (run record){% else %}not selected{% endif %}
{% if recorded %}

paths from this h5 (run record)

{% endif %}

topology and trajectory are opened on the server; paths must stay inside the browse root.

{% if not has_structure | default(false) %}

structure not selected — choose topology and trajectory above to load the 3D view.

{% endif %} {% if (browse_mode | default('picker')) == "server" %} {% endif %}