A list for the developers of CellML tools

Text archives Help


[cellml-dev] New parentheses behavior in Telicems


Chronological Thread 
  • From: ak.miller at auckland.ac.nz (Andrew Miller)
  • Subject: [cellml-dev] New parentheses behavior in Telicems
  • Date: Tue, 28 Jun 2011 12:38:03 +1200

On 28/06/11 12:11, Lucian Smith wrote:
> The new version of Telicems seems to add parentheses to its output. Where
> I used to get formulas like:

Hi,

This issue has been put into the tracker as tracker item 2969
(https://tracker.physiomeproject.org/show_bug.cgi?id=2969)

Best wishes,
Andrew

>
> gL_max * (Vm - EL)
>
> I now get:
>
> (gL_max * (Vm - EL))
>
> Internally, some other formulas have lost their parentheses:
>
> (Vm - Vt) / (Rs * Ct)
>
> to
>
> ((Vm - Vt) / Rs * Ct)
>
> or:
>
> (Istim - (INa + IK + IL + IT)) / Cm
>
> to
>
> ((Istim - INa + IK + IL + IT) / Cm)
>
> Both of which change the meaning of the formulas!
>
> (All of these formulas come from
> adrian_chandler_hodgkin_1970/adrian_chandler_hodgkin_1970.cellml
>
> It's possible that the last is due to a change in the file itself from the
> last time I ran it, but I am getting a lot of parentheses changes like
> this.
>
> Is this a bug in the new telicems library, or the old one or something
> else? And can I request that the extra external parentheses be dropped
> again? Thank you!
>
> -Lucian
> _______________________________________________
> cellml-tools-developers mailing list
> cellml-tools-developers at cellml.org
> http://lists.cellml.org/mailman/listinfo/cellml-tools-developers





Archive powered by MHonArc 2.6.18.

Top of page