Skip to content

Commit 44eeaf5

Browse files
committed
params=None
1 parent fdff904 commit 44eeaf5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

qiita_db/processing_job.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,12 @@ def release(self):
12431243
if "artifacts" in pvals:
12441244
# as this is going to be the first artifact of an analysis, we
12451245
# need to provide the data type so we are going to make sure all
1246-
# the parents data_types are the same and assing that one
1246+
# the parents data_types are the same and assigning that one; note
1247+
# that (1) we are doing this to be stringent but it should be responsability
1248+
# of the plugin creating this artifact, and (2) to keep the same functionality
1249+
# we are going to make sure that params is not set as it shouldn't be passed when
1250+
# assiging to an analysis
1251+
params = None
12471252
data_type = set(
12481253
[
12491254
qdb.artifact.Artifact(aid).data_type

0 commit comments

Comments
 (0)