Closed jnguyenx closed 8 years ago
I went to beta and production server and tested this gene page. Both have the compare tab disabled by default.
http://beta.monarchinitiative.org/gene/WormBase:WBGene00004898
While the staging server shows a different look of the page, the compare tab is enabled.
http://stage.monarchinitiative.org/gene/WormBase:WBGene00004898
So I checked with Kent, and beta was pointing to the the production servers, that's why the behavior was different. He switched it to the beta servers to make things consistent.
Now we can see the same errors on both beta and stage.
Thanks, I'll get this fixed and add some messages for users.
@harryhoch just wanted to give you a heads up and also get your comments on this. After some digging, I realized that this issue brings up a good time to refactor the message reporting mechanism in Phenogrid. There are three types of message reporting:
Based on these three different types of messages, I think we should merge 1 and 2 to create a message array that contains no matches information for each species, including the "compare" mode. And display the message directly in SVG container (especially when multiple instances are rendered in on page). Type 3 will stay no change and message gets delivered via the popup dialog.
Please let me know if you have any concerns or suggestions.
@yuanzhou, Sounds good. Please try to make these messages as configurable as possible. Ideally, they should be taken from values in the configuration JSON whenever possible.
thanks.
This issue has been addressed in PR #231 by adding a messaging reporting handling to Phenogrid.
Currently this phenotype is unknown from owlsim, thus there are no gene matches.
Phenogrid should display a message like "No gene matches this phenotype".
http://stage.monarchinitiative.org/gene/WormBase:WBGene00004898