Closed cthoyt closed 4 years ago
Actually, under the assumptions of the current and past versions of the code (which I just reviewed), this should be changed to just
if row['Synonyms']:
The fact that you get a KeyError indicates that something about the input file has changed and that may have broader implications that we should look into.
Okay, yes: HGNC renamed Synonyms to Alias symbols in their latest release and this change has been propagated into INDRA's HGNC resource file as well. So this should be changed to
if row['Alias symbols']:
and any other place where it is used.
I got the following error when running
python -m gilda.generate_terms
:I think there's a typo in the following code: https://github.com/indralab/gilda/blob/25a4c10c3463d511e0478364a1e65fe7ef925631/gilda/generate_terms.py#L72
Changing it to the following seems to fix it: