Skip to content

Commit

Permalink
need to use collation for updates
Browse files Browse the repository at this point in the history
  • Loading branch information
lzy7071 committed May 25, 2020
1 parent 246f11b commit ce0c543
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion datanator/data_source/uniprot_nosql.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ def fill_abundance_publication(self, start=0):
print("No pax doc found for uniprot doc {}, abundance entry {}; skip is at {}".format(doc["_id"], j, i))
break
self.collection.update_many({"uniprot_id": doc["uniprot_id"]},
{"$set": {"abundances": abundances}})
{"$set": {"abundances": abundances}},
collation=self.collation)



Expand Down

0 comments on commit ce0c543

Please sign in to comment.