app.view.forms.submission_form#

Attributes#

DEFAULT_STUDY_DESIGN

The structure of a Submission's `studyDesign` field. Any parameters given to

Classes#

Module Contents#

app.view.forms.submission_form.DEFAULT_STUDY_DESIGN[source]#

The structure of a Submission’s `studyDesign` field. Any parameters given to the form will be merged with this as a default. Changing the structure here will allow stored submissions to be reused and made compatible with the new structure.

class app.view.forms.submission_form.SubmissionForm(db_session=None, submission_id=None, step=0, user_uuid=None, study_uuid=None)[source]#
classmethod create(db_session, user_uuid, study_uuid=None)[source]#
classmethod load(db_session, submission_id, step=0)[source]#
step = 0[source]#
db_session = None[source]#
errors = [][source]#
project_id = None[source]#
study_id = None[source]#
init_from_existing_study()[source]#
property show_embargo_date_input[source]#

Embargo date input is shown if the study is not published yet

property show_reuse_study_input[source]#

Input for reusing a study design is shown for new studies

update_study_info(data)[source]#
update_strains(data)[source]#
update_techniques(data)[source]#
update_study_design(data)[source]#
fetch_taxa()[source]#
fetch_metabolites_for_technique(technique_index=None)[source]#
fetch_all_metabolites()[source]#
save()[source]#
save_backup(study_id, project_id)[source]#
has_error(key)[source]#
property is_published[source]#
error_messages()[source]#
technique_descriptions()[source]#
html_step_classes(target_step)[source]#
has_valid_project_data()[source]#
has_valid_study_data()[source]#