e-bel / ebel

Software package for parsing and validating Biological Expresison Language files as well as constructing and enriching knowledge graphs in the OrientDB environment.
MIT License
6 stars 1 forks source link

KEGG import fails #14

Closed cebel closed 1 year ago

cebel commented 1 year ago

File "/usr/local/lib/python3.9/site-packages/ebel/manager/orientdb/biodbs/kegg.py", line 267, in update_interactions interaction_type, subject_name, object_name, kegg_species_id = key ValueError: too many values to unpack (expected 4)

brucetony commented 1 year ago

The df.groupby() method of aggregating properties into a key wasn't working as intended. Implemented a more verbose but functional work around which is working. Added to a TODO for optimizing it later, but not high priority