We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 292e193 commit 6a553f6Copy full SHA for 6a553f6
qiita_pet/handlers/study_handlers/ebi_handlers.py
@@ -124,8 +124,8 @@ def post(self, preprocessed_data_id):
124
study = Artifact(preprocessed_data_id).study
125
state = study.ebi_submission_status
126
if state == 'submitting':
127
- level = 'danger'
128
message = "Cannot resubmit! Current state is: %s" % state
+ self.display_template(preprocessed_data_id, message, 'danger')
129
else:
130
qiita_plugin = Software.from_name_and_version('Qiita', 'alpha')
131
cmd = qiita_plugin.get_command('submit_to_EBI')
0 commit comments