unipept / unipept-database

Makes database tables and indices for Unipept
MIT License
0 stars 2 forks source link

Output of functional-analysis binary is not the same as before #49

Closed pverscha closed 8 months ago

pverscha commented 8 months ago

The output of the functional-analysis binary in the current version of the database script is not the same as before. The output should be in the format:

{"num":{"all":1,"EC":0,"GO":1,"IPR":1},"data":{"GO:0005789":1,"GO:0019894":1,"GO:0007018":1,"GO:0015031":1,"IPR:IPR024854":1,"IPR:IPR007794":1}}

So, the keys num and data are both keys at the root-level of the object. Right now, this is no longer the case: data is now a child of num, which it shouldn't be.