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'm reporting this because I didn't understand the data organization.
From my code:
// The annotation overview structure seems to consist of hashes with
// values of "1", instead of flat arrays. This should probably be fixed.
// Note: the 'role' structure is correct
function parseOverview(data) {
for (var i=0; i<data.length; i++) {
data[i].pathways = Object.keys(data[i].pathways);
data[i].classes = Object.keys(data[i].classes);
data[i].features = Object.keys(data[i].features);
data[i].subsystems = Object.keys(data[i].subsystems);
data[i].reactions = Object.keys(data[i].reactions);
}
return data;
}
The text was updated successfully, but these errors were encountered:
Because the data is overly complicated and larger than needed. No, it doesn't cost more than a few milliseconds. The user downloads an extra 5kb (139kb uncompressed) when visiting the annotation page, though, and I ship around 10 extra lines of code.
I'm reporting this because I didn't understand the data organization.
From my code:
The text was updated successfully, but these errors were encountered: