TheJacksonLaboratory / POET

A curation application for HPO and MAxO
https://thejacksonlaboratory.github.io/POET/
2 stars 0 forks source link

Treatments won't appear after navigating to phenotypes beyond 1-10 #102

Closed peupeubangbang closed 1 year ago

peupeubangbang commented 1 year ago

LIVE DEMO OF BUG https://www.loom.com/share/d6c579919b1e49b09e988ef5c4b2a656

Treatments won't appear when clicking the Treatments button after navigating to the next list of Phenotypes (e.g. beyond 1-10), even if a treatment has been annotated as you can see it does not appear in the 3rd screen capture even though it lists 1 of 1 treatments (so I navigated from the 1st screen capture -> 3rd screen cap).

What should appear is Calcium Channel Blocking Agent Therapy TREATS Muscle Weakness (last screen cap)

This behaviour also occurs when navigating from an individual phenotype to 'treatment' if the phenotype is listed in the 2nd page of phenotypes or beyond (so navigating from the 2nd screen cap to treatment -> 3rd screen cap)

Can confirm bug occurs on other disease with more than 10 phenotypes and have treatment annotations (e.g. Marfan syndrome).

image

image

image

image This will lead to another bug when navigating back to the phenotype list after the treatment doesn't appear, as the phenotype list will be an incorrect 'place' in terms navigation. E.g. this is saying phenotypes 1-10, but it is phenotypes 11-14 (so I navigated from the 3rd screen cap -> 4th screen cap)

image

iimpulse commented 1 year ago

thanks @peupeubangbang closed in #124