Skip to content

Commit 5a2cab2

Browse files
committed
fix analysis error
1 parent 50d2109 commit 5a2cab2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

qiita_db/artifact.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,10 +356,6 @@ def create(
356356
raise qdb.exceptions.QiitaDBArtifactCreationError(
357357
"Not valid: both prep_template and processing_parameters provided"
358358
)
359-
elif not bool(parents) and not bool(prep_template):
360-
raise qdb.exceptions.QiitaDBArtifactCreationError(
361-
"Not valid: both parents and prep_template need to be provided"
362-
)
363359
elif bool(analysis) and not bool(data_type):
364360
raise qdb.exceptions.QiitaDBArtifactCreationError(
365361
"Not valid: both analysis and data_type need to be provided"

0 commit comments

Comments
 (0)