Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abretaud committed Nov 21, 2022
1 parent 5db6c2e commit 0650e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genocrowd/libgenocrowd/Data.py
Expand Up @@ -148,7 +148,7 @@ def set_number_of_groups(self, data):
}})

"""Deleting documents containing old groups"""
self.groups.remove({"number": {'$exists': True}})
self.groups.remove_one({"number": {'$exists': True}})

"""Creation of new empty groups"""
for i in range(newNumber):
Expand Down

0 comments on commit 0650e55

Please sign in to comment.