RitchieLab / LOKI

0 stars 0 forks source link

Python 3.12 Support #8

Open van-truong opened 3 months ago

van-truong commented 3 months ago

Brandon said:

Crashing giving error with methods loading modules for different sources.

van-truong commented 3 months ago

Nikki said:

I got the value error below for the following databases listed. This I think is due to python version error.

ERROR: failed to update mint File "/Users/nikkipalmiero/venv_vio_11/lib/python3.11/site-packages/biofilter-3.0.0-py3.11.egg/loki/loaders/loki_source_mint.py", line 91, in update with open('MINT_MiTab.txt','rU') as assocFile: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid mode: 'rU'

WARNING: data from these sources was not updated: entrez go gwas mint reactome

van-truong commented 3 months ago

Brandon said:

This should be fixed in this repo just needs work around the dynamic loading to fully support 3.12. Tested on 3.11 and everything built locally for me.