Closed JPereira-FJB closed 1 year ago
@JPereira-FJB thanks for reporting, I fixed this recently in https://github.com/Merck/BioPhi/commit/6e3305c13fc419bfb18d9b94a485053f20ac4a83, it's merged to main
branch and also available on bioconda as biophi=1.0.9
I'm not sure if what I'm going to showcase here is 100% correct, but here it goes. While attempting to build and run my local version of the BioPhi backend, I run into some weird errors, including
sqlalchemy.exc.ArgumentError: List argument must consist only of tuples or dictionaries
. In particular, the error directed me to theget_oas_hits
function (bellow).According to this Stack Overflow post the problem seems to derive from changes in the source code of SQLAlchemy itself. In the
environment.yml
I seesqlalchemy < 2
, I seem to be running SQLAlchemy 1.4.48 on my docker container. Nonetheless, I was having this error and I managed to fix it by changing theget_oas_hits
function to:Not sure if this is something you'd like to take a look at.