Skip to content

Commit 1c1a4a7

Browse files
authored
fix job submission for admin jobs (#3332)
* fix job submission for admin jobs * fix lint
1 parent 35a9144 commit 1c1a4a7

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

Diff for: qiita_db/processing_job.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,8 @@ def resource_allocation_info(self):
433433
jtype = 'RELEASE_VALIDATORS_RESOURCE_PARAM'
434434
tmp = ProcessingJob(self.parameters.values['job'])
435435
name = tmp.parameters.command.name
436-
analysis = tmp.input_artifacts[0].analysis
436+
if tmp.input_artifacts:
437+
analysis = tmp.input_artifacts[0].analysis
437438
elif self.command.name == 'Validate':
438439
jtype = 'VALIDATOR'
439440
vals = self.parameters.values

Diff for: qiita_pet/support_files/doc/source/faq.rst

+11
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,17 @@ Now, if you are wondering about the possible "Processing notes", here are their
410410
associated with a samples is an index read file.
411411

412412

413+
Are you planning a workshop or class?
414+
-------------------------------------------------------------------
415+
416+
We encourage users to use Qiita for their classes and/or workshops and to facilitate processing
417+
we urge users to request a special reservation in the system. A reservation should help your
418+
and your participant jobs to move quicker in the system. If you are interested, please send us
419+
an email to qiita.help@gmail.com and add the name of your workshop/course, the number of
420+
participants, the expected days this will happen. Note that reservations are only available for
421+
analysis and not for sequencing processing, and that the reservation can be added/edited during
422+
the creation of the analysis or at any point within each individual analysis page.
423+
413424
How to cite Qiita?
414425
------------------
415426

0 commit comments

Comments
 (0)