Skip to content

initial fixes after qiita-rc 09.2023 #3320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Oct 11, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use _update_and_launch_children
  • Loading branch information
antgonza committed Sep 27, 2023
commit 72a665b063f65e32c71f9f9ad13162766a7191e9
7 changes: 2 additions & 5 deletions qiita_db/processing_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -1306,15 +1306,12 @@ def _complete_artifact_definition(self, artifact_data):
an = None
data_type = 'Job Output Folder'

qdb.artifact.Artifact.create(
artifact = qdb.artifact.Artifact.create(
filepaths, atype, prep_template=pt, analysis=an,
data_type=data_type, name=job_params['name'])
self._set_status('success')

# releasing children
for c in self.children:
if c.status == 'waiting':
c.submit()
self._update_and_launch_children({None: artifact.id})

def _complete_artifact_transformation(self, artifacts_data):
"""Performs the needed steps to complete an artifact transformation job
Expand Down