incorrect display of covariate transformation
Issue #79
resolved
The two following model are displayed differently,
<CovariateModel blkId="cm1">
<Covariate symbId="W">
<Continuous>
<Transformation>
<math:Equation>
<math:Uniop op="log">
<math:Binop op="divide">
<ct:SymbRef symbIdRef="W"/>
<ct:Real>70</ct:Real>
</math:Binop>
</math:Uniop>
</math:Equation>
</Transformation>
</Continuous>
</Covariate>
</CovariateModel>
versus
<CovariateModel blkId="cm2">
<Covariate symbId="W2">
<Continuous>
<Transformation>
<Equation xmlns="http://www.pharmml.org/2013/03/Maths">
<Uniop op="log">
<Binop op="divide">
<ct:SymbRef symbIdRef="W2"/>
<ct:Real>70</ct:Real>
</Binop>
</Uniop>
</Equation>
</Transformation>
</Continuous>
</Covariate>
</CovariateModel>
the first one misinterprets the transformation and reads
Continuous covariate W
Transformation=W
the second displays the trafo correctly
Continuous covariate W2
Transformation=log(W/70)
The difference in the implementation is how the namespace are defined.
Comments (5)
-
-
Issue
#108was marked as a duplicate of this issue. -
The issue is in fact caused by the fact that the data structures that store information about covariates are accessed in a non-thread-safe way from a concurrent environment.
This is supported by the behaviour described in https://bitbucket.org/jummp/jummp/issue/108 and https://bitbucket.org/jummp/jummp/issue/109.
-
Issue
#108was marked as a duplicate of this issue. -
- changed status to resolved
- Log in to comment
Issue
#109was marked as a duplicate of this issue.