{% extends 'base.html' %} {% block title %}HEIN LAB | Run Control{% endblock %} {% block body %}
Script
{% 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 %}
Export to Python
{{dot_py}}
Download
{% endblock %}