{% extends 'base.html' %} {% block title %}HEIN LAB | Controller for {{inst.__class__.__name__}}{% endblock %} {% block body %}

Controller for {{inst.__class__.__name__}} ({{instrument}})

{% for function in functions %} {% if function not in session['hidden_functions'][instrument] %}
{% if functions[function].__class__.__name__ == "dict" %} {% for arg in functions[function] %}
{% endfor %} {% elif not functions[function].parameters.keys()|length == 0 %} {% for parameter in functions[function].parameters.keys() %}
{% if functions[function].parameters[parameter].annotation.__name__ == 'bool' %}
{% else %} {% endif %}
{% endfor %} {% endif %}
{% endif %} {% endfor %}

{% for function in session['hidden_functions'][instrument] %}
{{ function }}
{% endfor %}
{% endblock %}