usc-isi-i2 / dig-etl-engine

Download DIG to run on your laptop or server.
http://usc-isi-i2.github.io/dig/
MIT License
101 stars 39 forks source link

RuntimeError: dictionary changed size during iteration error for conjunctive query #272

Closed elmaestro08 closed 5 years ago

elmaestro08 commented 5 years ago

Need to change line 333 of the conjunctive_query.py file in mydig-webservice/ws/search folder from for field in json_doc[self.SOURCE][self.KG_PREFIX].keys():

to

for field in list(json_doc[self.SOURCE][self.KG_PREFIX]):

saggu commented 5 years ago

Fixed wtih https://github.com/usc-isi-i2/mydig-webservice/pull/91