{% from os.path import basename %} {% from qiita_pet.handlers.util import download_link_or_path %}

{{data_type}} (ID: {{prep_id}}) 

Files:
{% for ptid, ptpath, ptype in filepaths %} {% end %}
Show prep template summary
{% raw download_link_or_path(is_local_request, ptpath, ptid, ptype) %}

{% if is_editable %} {% module EditInvestigationType(ena_terms, user_defined_terms, prep_id, investigation_type, 0) %} {% end %}
{% if not preprocessed_data or preprocessing_status.startswith('failed') %} {% if study_status == 'sandbox' %} Preprocess {% end %}
Status: {{preprocessing_status}}
{% if 'zero-size array' in preprocessing_status %} Your barcodes do not seem to match your prep template info {% end %} {% else %} Preprocessed data generated: {{preprocessed_data[0]}} {% for pdi in preprocessed_data[1:] %} , {{pdi}} {% end %} {% end %}