{% extends "base.html" %} {% block title %}Command builder · cryoDRGN{% endblock %} {% block nav_page_title %}Command builder{% endblock %} {% block head %} {% endblock %} {% block content %} {% macro title_attr(text) -%} {%- if text %} title="{{ text|e }}"{% endif -%} {%- endmacro %} {% macro schema_arg_title(a) -%} {%- if a.help -%}{{ a.help }}{%- endif -%} {%- endmacro %} {% macro ctf_row_title(field_id) -%} {%- set h = command_builder_required_field_titles.get(field_id) -%} {%- if h and default_ctf %} title="{{ (h ~ ' · ' ~ default_ctf)|trim|e }}" {%- elif h %} title="{{ h|e }}" {%- elif default_ctf %} title="{{ default_ctf|e }}" {%- endif -%} {%- endmacro %} {% macro render_cmd_arg(a) %} {% set st = schema_arg_title(a)|trim %} {% if a.w == 'flag_true' %} {% elif a.w == 'flag_false' %} {% elif a.w == 'no_amp' %} {% elif a.w == 'norm2' %} {% elif a.w == 'select' %} {% set default_choice = a.default if a.default is defined else (a.choices[0] if a.choices else '') %} {{ a.cli[0] }}
{% for c in a.choices %} {% set rid = a.id ~ '_' ~ loop.index0 %} {% endfor %}
{% elif a.w == 'number' %} {% else %} {% endif %} {% endmacro %} {% macro render_dataset_fieldset(cmd_key, datadir_id) %} {% set ds = (command_builder_schema[cmd_key] | selectattr('title', 'equalto', 'Dataset loading') | list | first) %}
Dataset loading {% if ds and ds.args %}
{% for a in ds.args if a.w in ['flag_true', 'flag_false'] %} {{ render_cmd_arg(a) }} {% endfor %}
{% for a in ds.args if a.w not in ['flag_true', 'flag_false'] %} {{ render_cmd_arg(a) }} {% endfor %} {% endif %}
{% endmacro %}

Pick a primary reconstruction command. The line below lists required arguments plus options you actually set (empty fields and CLI defaults are omitted).

Required
{{ render_dataset_fieldset('abinit', 'ab_datadir') }}
{% for group in command_builder_schema['abinit'] %} {% if group.title != 'Dataset loading' %}
{{ group.title }} {% for a in group.args %} {{ render_cmd_arg(a) }} {% endfor %}
{% endif %} {% endfor %}
Required
{{ render_dataset_fieldset('train_vae', 'vae_datadir') }}
{% for group in command_builder_schema['train_vae'] %} {% if group.title != 'Dataset loading' %}
{{ group.title }} {% for a in group.args %} {{ render_cmd_arg(a) }} {% endfor %}
{% endif %} {% endfor %}
Required
{{ render_dataset_fieldset('train_nn', 'nn_datadir') }}
{% for group in command_builder_schema['train_nn'] %} {% if group.title != 'Dataset loading' %}
{{ group.title }} {% for a in group.args %} {{ render_cmd_arg(a) }} {% endfor %}
{% endif %} {% endfor %}
Required
{{ render_dataset_fieldset('train_dec', 'dec_datadir') }}
{% for group in command_builder_schema['train_dec'] %} {% if group.title != 'Dataset loading' %}
{{ group.title }} {% for a in group.args %} {{ render_cmd_arg(a) }} {% endfor %}
{% endif %} {% endfor %}
Command
cryodrgn abinit …

This page does not run training — copy the line into your shell or job script.

{% endblock %}