{% extends sitebase.html %} {% block head %} {% end %} {% block content %} {% from future.utils import viewitems %} {% from os.path import basename %} {% from qiita_core.qiita_settings import qiita_config %} {% from qiita_db.data import PreprocessedData, ProcessedData %}
{{study_title}}{{study_info['study_alias']}} |
|
{% if not is_public or user_level == "admin" %} Edit {% end %} {% if can_upload and study_status == 'sandbox' or user_level == 'admin' %} Upload {% end %} {% if study_status == 'sandbox' and qiita_config.require_approval and ste and raw_files and prep_templates %} Request Approval {% elif (user_level == 'admin' and study_status == 'awaiting_approval') or not qiita_config.require_approval %} Approve Study {% elif study_status == 'private' %} Make Public {% end %} {% if study_status not in {'sandbox', 'public'} %} Revert to sandbox {% end %} |
{% if study_status == 'sandbox' or user_level == 'admin' %}
Add prep template to this raw dataTo add a prep template you need to:
Add prep template {% end %} Prep templates uploaded
|
Linked files to this raw data{% if (study_status == 'sandbox' or user_level == 'admin') and r.get_filepaths() and r.link_filepaths_status not in {'linking', 'unlinking'} %} Unlink all files{% end %} {% if r.link_filepaths_status == 'linking' %} Linking files... {% elif r.link_filepaths_status == 'unlinking' %} Unlinking files... {% elif r.link_filepaths_status.startswith('failed') %} Error (un)linking files: {{r.link_filepaths_status}} {% end %} {% for fpid, f, t in r.get_filepaths() %} {{basename(f)}}: {{t[4:]}} {% end %} {% if study_status == 'sandbox' or user_level == 'admin' %} Link uploaded files with raw data
Link raw files to: {{r.filetype}} (ID: {{r.id}}) {% end %} |