{% extends 'base.html' %} {% block title %}HEIN LAB | Run Control{% endblock %} {% block body %} {% if no_deck_warning and not dismiss %} {# auto pop import when there is no deck#} {% endif %}

{% if script['script'] or script['prep'] or script['cleanup'] %}

Control panel:

{# {% if not no_deck_warning%}#}
{# {% endif %}#}

Control with csv config:

Current configure: {{ filename }}

{% if filename and not no_deck_warning %}
{% endif %} {#Preview config file#}
{% if config_preview %} {% for line in config_preview[0].keys() %} {% endfor %} {% for line in config_preview %} {% for i in line.values() %} {% endfor %} {% endfor %}
{{ line }}
{{ i }}
{% else %} Empty config file {% endif %}

Parameters:

{% for config in config_list %}

{{config}}:
{#
#} {# #} {#
#}
{#
#} {# #} {#
#}
{% endfor %}

Objective:

{% for objective in return_list %}

{{objective}}:
{#
#} {# #} {#
#}
{#
#} {# #} {#
#} {#
#} {# #} {#
#}
{% endfor %}

Budget:

{% if not no_deck_warning%}
{% endif %}

Control panel:

{% for column in config_list %} {% endfor %}
{{ column }}

Progress:

Logging:

{% endif %}

{% if session["most_recent_result"] %}

Download the latest data

{% endif %}

All data files
{% for datafile in data_list %}
{{ datafile }}
{% endfor %}

{% for script_type in ['prep', 'script', 'cleanup'] %} {% if script[script_type] %}
{% if script_type == 'prep' %} Preparation: {% elif script_type == 'script' %} Experiment: {% elif script_type == 'cleanup' %} Clean up: {% endif %}
    {% for s in script[script_type] %}{% if not s['instrument']=='if' and not s['instrument']=='while' %}   {% endif %}
  • {% if s['return'] %}{{ s['return'] }} = {% endif %} {{ s['action'] }} {# {% if s['action']== 'if' %} {% if s['args'] %}({{ s['args'] }}) {% else %} True {% endif %}#} {# {% elif s['action']== 'while' %} {% if s['args'] %}({{ s['args'] }}) {% else %} False {% endif %}#} {% if s['instrument']== 'variable' %} = {{ s['args'] }} {% else %} {% if s['args'] %} ({{ s['args'] }}) {% endif %} {% endif %}
  • {% endfor %}
{% endif %} {% endfor %}

{{dot_py}}
Download
{% endblock %}