Open-Systems-Pharmacology / MoBi

MoBi® is a software tool for multiscale physiological modeling and simulation
Other
31 stars 10 forks source link

PV BB: New parameter value - required columns are not added #1526

Closed PavelBal closed 2 weeks ago

PavelBal commented 2 months ago

When creating a new (empty) PV BB, only the columns "Parameter Name", "Parameter Value", "Value Origin", "Formula", and "Dimension" are shown.

When adding parameter through "New Parameter Value", the entries are added but the required columns are not added:

image

PavelBal commented 2 months ago

Create two views - on the left side the tree view, on the right a text field with parameter paths. Button that "transfers" selected parameters from the tree view to the text field, creating full paths. Paths are separated by ; and newline. User can edit and add new paths.

Button "OK -> creates entries in the PV BB for the entered paths.

PavelBal commented 1 month ago

Required columns are still not (always) added. Try:

image

Add a path Manual|Path. Added correctly, with new column Path Element 0:

image

Now add a parameter with an additional level: Manual|Path|foo:

image

Path Element 1 is missing.

PavelBal commented 1 month ago

Lol and where is the Column Chooser now? :D It's gone.

rwmcintosh commented 2 weeks ago

We are specifically not enabling additional columns unless it's the first row added I think. The idea is that if there are no elements in the list then it's reasonable to assume the user has not set the view to their liking. If there is already a showing row, the user may have configured the columns as they want them, so we don't change it.

The column chooser needs to be available thoguh.

rwmcintosh commented 2 weeks ago

Column chooser re-introduced in #1562