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
The _get_historical_versions function fails when parsing data from http://prodata.swmed.edu/ecod/complete/distribution. This is probably due to the presence of new records such as af2_human which do not have a proper version number.
File /temp/sdunin/scr/localpdb/localpdb/plugins/ECOD.py:70, in ECOD._get_historical_versions(self)
68 print(litag)
69 ver_url = self.plugin_config['ecod_domain'] + litag.find('a')['href']
---> 70 version = int(str(litag.text).split(' ')[0])
71 ecod_history[version] = ver_url # ECOD history dict
72 return ecod_history
ValueError: invalid literal for int() with base 10: ''
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
The
_get_historical_versions
function fails when parsing data from http://prodata.swmed.edu/ecod/complete/distribution. This is probably due to the presence of new records such asaf2_human
which do not have a proper version number.The text was updated successfully, but these errors were encountered: