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
Currently, there's an issue in the code where the absence of a "NAME" line in KEGG Entry files causes a NotImplementedError, stopping the process. However, adding a second line like "NAME NONE" in the file resolves the problem.
File~/opt/anaconda3/envs/carveME/lib/python3.8/site-packages/cobramod/parsing/kegg.py:497, inKeggParser._parse(root, directory, genome)
495kegg_dict=method(kegg_dict=root) # type: ignore496returnkegg_dict-->497raiseNotImplementedError(
498"Given identifier could not be parsed properly. "499"Please contact maintainers."500 )
ENTRY R10243 Reaction
NAME None
DEFINITION Tetrahydrofolate + Acetyl-CoA <=> 5-Methyltetrahydrofolate + CoA + CO
.
.
.
To address this issue, I propose implementing a warning mechanism instead of raising a hard error when encountering missing "NAME" lines in KEGG Entry files and just filling it as empty.
This issue was encountered while using cobramod version 1.1.1.
Also, thank you so much! cobramod has been really useful for my work :)
The text was updated successfully, but these errors were encountered:
With the latest CobraMod 1.2.0 (#53) update, the problem you've been experiencing should no longer occur. The 'identifier' is used instead if the 'NAME' section is omitted.
Therefore, I will close this issue. If similar errors occur due to other missing sections, feel free to open a new issue.
Unfortunately, I have not found any information on which other entries KEGG considers optional. If anyone knows, please leave a note here.
Currently, there's an issue in the code where the absence of a "NAME" line in KEGG Entry files causes a
NotImplementedError
, stopping the process. However, adding a second line like "NAME NONE" in the file resolves the problem.File example
Works fine just adding
To address this issue, I propose implementing a warning mechanism instead of raising a hard error when encountering missing "NAME" lines in KEGG Entry files and just filling it as empty.
This issue was encountered while using cobramod version 1.1.1.
Also, thank you so much! cobramod has been really useful for my work :)
The text was updated successfully, but these errors were encountered: