Closed mikekucera closed 4 months ago
I think the best way to handle this is to have the EM-service return the description field as part of the node data. This will be much easier than having to query mongo for all the descriptions using the node names.
Here is an example what the new field will look like...
Here's another example. Its actually pretty well formatted. I think we can use these directly.
Describe the bug
The baderlab pathway database contains a "description" column that contains human-readable pathway names. We should be using this for node labels.
The description field generally has lowercased words, but acronyms like "DNA" are uppercase. We could uppercase the first letter of the words, or just the first word, then leave everything else as-is.
We are currently parsing the label out of the pathway 'name' field, which does not contain any useful formatting.
Note: EM-desktop uses the description field for its labels.
I have to admit its my fault for not realizing this sooner. We could have been using the description field this whole time.