Skip to content

Commit

Permalink
fix update query
Browse files Browse the repository at this point in the history
  • Loading branch information
mbthornton-lbl committed Nov 22, 2024
1 parent ff45e20 commit 360fb57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nmdc_automation/import_automation/activity_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def map_sequencing_data(self) -> Tuple[nmdc.Database, Dict]:
update = {
"update": "data_generation_set",
"updates": [
{"q": {"id": self.nucelotide_sequencing_id}, "u": {"$addToSet": {"has_output": has_output}}}
{"q": {"id": self.nucelotide_sequencing_id}, "u": {"$addToSet": {"has_output": has_output[0]}}}
]
}
# update self.data_object_map
Expand Down

0 comments on commit 360fb57

Please sign in to comment.