You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Calling uniprot_data with argument organism="*" results to error because UniProt no longer supports this, as documented here. When the argument is None, the organism parameter should be removed.
File "C:\Users\Paul\Documents\GitHub\CROssBARv2\bccb\uniprot_adapter.py", line 331, in _download_uniprot_data
self.data[query_key] = uniprot.uniprot_data(
File "c:\Users\Paul\AppData\Local\pypoetry\Cache\virtualenvs\bccb-W1ur4Y1J-py3.10\lib\site-packages\pypath\inputs\uniprot.py", line 834, in uniprot_data
return uniprot_query(*query, fields = fields, **kwargs)
File "c:\Users\Paul\AppData\Local\pypoetry\Cache\virtualenvs\bccb-W1ur4Y1J-py3.10\lib\site-packages\pypath\inputs\uniprot.py", line 899, in uniprot_query
return UniprotQuery(*query, fields = fields, **kwargs).perform()
File "c:\Users\Paul\AppData\Local\pypoetry\Cache\virtualenvs\bccb-W1ur4Y1J-py3.10\lib\site-packages\pypath\inputs\uniprot.py", line 681, in perform
_id, *variables = zip(*self)
ValueError: not enough values to unpack (expected at least 1, got 0)
Desktop (please complete the following information):
Describe the bug
Calling
uniprot_data
with argumentorganism="*"
results to error because UniProt no longer supports this, as documented here. When the argument isNone
, theorganism
parameter should be removed.To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error
Traceback
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: