cokelaer / bioservices

Access to Biological Web Services from Python.
http://bioservices.readthedocs.io
Other
278 stars 60 forks source link

When importing UniProt from bioservices I get this TypeError: __init__() got an unexpected keyword argument 'text_color' #234

Closed AqibHasnain closed 1 year ago

AqibHasnain commented 2 years ago

Python __version = 3.8.6 bioservices version = 1.10.1

The error is TypeError: init() got an unexpected keyword argument 'text_color'.

I updated bioservices (from 1.6.? I believe) and started getting this error. Before updating, I started to get an error when querying uniprot with UniProt().search(), specifically a bad service request error.

cokelaer commented 1 year ago

@AqibHasnain in the search() function, have you provided a uniprot query ? please provide a complete example and I can double check. v1.10.1 seems buggy though. I will update the code today or tomorrow. I let ou know once done

cokelaer commented 1 year ago

several update of the uniprot API. closing for now since I believe this is fixed.