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
I am not sure if is an error by the new version of HMDB, but when you need to run
python assign_internalids.py megadb.txt HMDB.txt
You get the following error: Traceback (most recent call last): File "assign_internalids.py", line 51, in <module> inchi=col[0] IndexError: list index out of range
To solve the error you need to replace the line: col = line.split("\t")
by col = line.split("\\t") du the header now is
['1\tInChI\tsmiles\tmass\tchem_f\tInChIKey\n']
The text was updated successfully, but these errors were encountered:
I am not sure if is an error by the new version of HMDB, but when you need to run
python assign_internalids.py megadb.txt HMDB.txt
You get the following error:
Traceback (most recent call last): File "assign_internalids.py", line 51, in <module> inchi=col[0] IndexError: list index out of range
To solve the error you need to replace the line:
col = line.split("\t")
by
col = line.split("\\t")
du the header now is['1\tInChI\tsmiles\tmass\tchem_f\tInChIKey\n']
The text was updated successfully, but these errors were encountered: