TheJacksonLaboratory / PhenopacketLab

An Angular/Springboot web application for the loading, editing, saving of data that follows the Phenopacket Schema
BSD 3-Clause "New" or "Revised" License
7 stars 1 forks source link

Problem with onset on the phenotype feature page #214

Closed BethSundberg closed 1 year ago

BethSundberg commented 1 year ago

Scenario: Create new phenopacket Select Gestational Age Enter 200 for the weeks. This is not valid, so it is replaced with 45. Leave days blank. Go to the phenotypic features page Enter some text into the text mining and approve the items found. Under Onset, select Gestational Age Problem: Weeks is auto filled with "200" when it should have been "45".

Image

Click in the weeks field and tab out It automatically changes it from "200" to "45" Click on "Automatically apply onset to all features" Problem: again, it has displayed the onset as "200".

Image

Click on "add approved terms" Problem: they still all say "200" for the onset

Image

You can manually fix it if you TYPE "45" into the weeks box, but if you simply click in the box and tab out or click elsewhere the "45" that replaces the 200 is not saved.

NOTE: this same problem occurs with the Days box.

belkassaby commented 1 year ago

this should have been fixed: if still happening on your instance , try resetting you cache: here is a screenshot on my localhost, where I set 200 and the number of weeks were then automatically set to 45 and 45 is what also came up when setting the onset for the text mined terms

Image

BethSundberg commented 1 year ago

this is fixed