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
There appears to be an issue with the update method, specifically in the get_mgds method. At least one of the mgd ids appears to be simply "M" which causes the code to fall over.
Line 187 in database.py. I solved this by:
def get_mgds(self, hgnc):
mgds = []
if 'mgd_id' in hgnc:
for mgd in hgnc['mgd_id']:
if mgd not in self.mgds:
try:
mgdid = int(mgd.split(':')[-1])
except ValueError:
mgdid = None
if mgdid:
self.mgds[mgd] = models.MGD(mgdid=mgdid)
mgds.append(self.mgds[mgd])
return mgds
However, I'm not sure if the real issue is in the download or not.
The text was updated successfully, but these errors were encountered:
There appears to be an issue with the update method, specifically in the get_mgds method. At least one of the mgd ids appears to be simply "M" which causes the code to fall over.
Line 187 in database.py. I solved this by:
However, I'm not sure if the real issue is in the download or not.
The text was updated successfully, but these errors were encountered: