'storage_type' error still, after update the version of py-wsi
dl-miao opened this issue · 9 comments
Hi, @ysbecca
Firstly, thanks a lot for your work!
I am a new to py_wsi, I met a problem when create the turtle object. Once I add the storage_type option, it will has the following error. I've read the previous issue, so I upgrade the the version of py-wsi, it still has the same problem!
----> 1 turtle = py_wsi.Turtle(file_dir, db_location, db_name, xml_dir=xml_dir, label_map=label_map, storage_type='lmdb')
TypeError: init() got an unexpected keyword argument 'storage_type'
Hmm... when you check the py-wsi code, in the file turtle.py (where the Turtle class is defined), do you see the storage_type parameter present?
hi @ysbecca
Thanks for your so quickly response! and sorry for my late reply. I've fix the error!
Thanks so much for the response. Yes, it was the version issue, I had installed py_wsi through pip which had an older version. Later, I directly cloned the git repo and imported py_wsi through that and It worked well :)
Hi @ysbecca, I am experiencing the same issue! I cloned the git repo, I checked in the turtle file if the storage_type parameter was present and it is! But the same error keeps coming up. Do you have any other suggestions on how I could fix this error? Thanks a lot! :)
Hmm, you're sure you've completely uninstalled any old versions? If it's importing in the right files, it will see the storage_type param. Maybe stick a print statement inside the new version, to double check you're importing what you hope you are.