Closed pj-sullivan closed 2 years ago
Hi @pj-sullivan, thanks for using MMSplice. Which keras version are you using? How did you install MMSplice, with pip install
?
It looks like to be an issue with the new h5py version, see https://stackoverflow.com/questions/53740577/does-any-one-got-attributeerror-str-object-has-no-attribute-decode-whi, and https://stackoverflow.com/questions/64767814/coremltools-error-while-converting-str-object-has-no-attribute-decode
Yes, installed using pip install
, and keras version is 2.2.4.
Thank you! Used the recommended pip install 'h5py==2.10.0' --force-reinstall
and the first issue is solved. But unfortunately, I am still getting the second error.
Hi @pj-sullivan, does the second error also happen in docker? Sorry I was not precise enough, did you install with pip install mmsplice
or from the repo?
The error looks a bit confusing and I'm not able to reproduce it.
What happens if you run this notebook? https://github.com/gagneurlab/MMSplice_MTSplice/blob/master/notebooks/example.ipynb
I would suggest starting a new conda env with python 3.6 and install MMSplice with pip install mmsplice
there. You also need to install:
conda install cyvcf2 -y
conda install cython -y
We are using this docker setup for unit testing: https://github.com/gagneurlab/MMSplice_MTSplice/blob/master/.circleci/config.yml
Description
I usually run MMSplice with the VEP docker (as I couldn't get MMSplice running locally the first time), but have been having issues with the VEP server lately and would rather just run MMSplice without VEP, ideally using docker.
What I Did
I installed MMSplice both locally and with docker and came across the same error message when running this code:
I since then removed the .decode('utf-8') and .decode('utf8') lines of code from that file, in case that was the sole issue, but now I have another error which probably stemmed from removing that section from the code.
Any advice would be appreciated!