vcell icon indicating copy to clipboard operation
vcell copied to clipboard

Give users a choice when changing unit systems to either dimensionally transform values based on the new units, or to keep values the same

Open vcellmike opened this issue 5 months ago • 3 comments

Changing the unit system automatically scales all numbers. This is often not the user's intention: they want to change units from μM to nM, and they do not expect the concentration change from 1 μM to 1000 nM.

Quick solution: when clicking on "OK" in Select new unit system, give a warning: "All parameter values will be scaled to keep the physical meaning the same, e.g. the parameter wth the value of 1 uM in uM unit system will have the value 1000 nM in nM unit system".

Full solution: Add a checkbox "Scale the values of all parameters to keep the physical meaning the same: the parameter wth the value of 1 uM will have the value 1000 nM". When the checkbox is not checked, no values will be scaled.

vcellmike avatar Jul 29 '25 16:07 vcellmike

A better implementation would be a radio button that users must select an option from, before they are able to hit "OK" and confirm the choice.

CodeByDrescher avatar Aug 12 '25 18:08 CodeByDrescher

Also: While the text for the radio buttons should be simple, we can embed a "?" box, that when clicked will give a full explanation of the choice to make.

CodeByDrescher avatar Aug 12 '25 18:08 CodeByDrescher

here are some words for the 2 radio buttons:

  • transform all current values from the current units to the new units
  • maintain all current values and only change unit labels.

lesloew avatar Aug 12 '25 18:08 lesloew