Skip to content
Snippets Groups Projects
Commit 69ec65f8 authored by aknecht2's avatar aknecht2
Browse files

Fixed merge conflicts again...?

parents 3ea96f58 a91ef0fe
No related branches found
No related tags found
1 merge request!33Resolve "MongoDB auth should be optional"
...@@ -38,7 +38,6 @@ class MongoDB(object): ...@@ -38,7 +38,6 @@ class MongoDB(object):
self.client = MongoClient(host) self.client = MongoClient(host)
self.db = self.client.chipseq self.db = self.client.chipseq
self.cache = collections.defaultdict(dict) self.cache = collections.defaultdict(dict)
self.cache = {}
if username and password: if username and password:
try: try:
self.db.authenticate(username, password, mechanism="SCRAM-SHA-1") self.db.authenticate(username, password, mechanism="SCRAM-SHA-1")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment