farhat-lab / gentb-site

The genTB project, the Django site, variant calling and prediciton pipeline, and mapping pipeline with hooks to two ravens
https://gentb.hms.harvard.edu
Other
8 stars 11 forks source link

Add R/S label to hover box over drug/strain for Predict #258

Closed mahafarhat closed 2 years ago

mahafarhat commented 2 years ago

We have successfully displayed R/S prediction as Red/Blue in binary form in predict. But currently, the hover box only lists the probability but not the prediction:

image

Let's add a line under 'drug' that states Prediction Resistant or Prediction Susceptible

doctormo commented 2 years ago

Screenshot from 2021-09-27 10-41-39

Feature added, deployment expected later today.

doctormo commented 2 years ago

Related to this I've fixed an annoying issue with empty squares having a bad hover, it'll now tell you the drug and a "No data" message. This will happen infrequently, but it's worth clearing up Screenshot from 2021-09-27 10-58-40 .