Closed jzq90 closed 4 years ago
A tedious way: Manually navigate to the path through the parent building block
I too am interested in the easy answer to this question.
Paul
There is no easy way in MoBi ;-)
One way would be to re-reference it in a formula with the option "absolute path" selected.
@StephanSchaller Thanks. But the problem is that sometimes it only displays the last item in the path and there are a lot of items having the same name in different paths.
For example, in your picture, there is a blood flow rate
item in each tissue. How do you know ..|..|Blood flow rate
is from the bone?
Another example like below, where to find Height
from ..|..|..|Height
?
Well, your chosen local reference point is: "Organism|Lumen|Caecum|Distal radius", the "..|" means you are going one level up from there... so from "Distal radius" to "Caecum" to "Lumen" and then select "Height", so it is "Organism|Height"...
@jzq90 In general, you should look at formula in the context of a simulation. There, all path are absolute. Relative paths are used to ensure that we can create me formula and reuse it over and over again, thus avoiding formula duplication.
Another example like below, where to find Height from ..|..|..|Height
This is a good example of relative path gone wrong. Access to global parameters such as Height, Age etc.. should be absolute. For example, the path could read "Organism|Height" and it would not make the formula LESS reusable.
All: I feel that it would be a good feature to have a way to copy a path to clipboard from any entity in a simulation. (for example for a parameter, a container etc..) If yes, can someone create a feature request in MoBi and we can implement it if there is enough interest
Thanks, all. It helps.
This is a good example of relative path gone wrong. Access to global parameters such as Height, Age etc.. should be absolute. For example, the path could read "Organism|Height" and it would not make the formula LESS reusable.
I absolutely agree @msevestre . I think it would make more sense to have some paths referenced in this way. Would this be part of the feature request from @StephanSchaller ? Or we would need a new feature request?
there is one feature request for PKSim https://github.com/Open-Systems-Pharmacology/PK-Sim/issues/1475
After exporting the PK-sim model into Mobi, a lot of parameters' path was shown in the way of ". . |" How could I get the full absolute path instead of abbreviation?