CellML Discussion List

Text archives Help


[cellml-discussion] Using PCEnv 2.0


Chronological Thread 
  • From: alan.garny at dpag.ox.ac.uk (Alan Garny)
  • Subject: [cellml-discussion] Using PCEnv 2.0
  • Date: Wed, 25 Jul 2007 21:32:00 +0100

Hi Ely,

I have the feeling that this might a locale issue. In Brazil, the decimal
separator is ",", while it is "." in New Zealand (where PCEnv 0.2 is being
developed). So, while "0.3" will be a valid floating point number in, at
least, English speaking country, it won't be in Brazil (and a few other
countries for that matter!). So, for things to work for you, you would need
to have "0,3" instead. This being said, PCEnv should maybe force the use of
"." as a decimal separator and "," as a thousand separator, independent of
the locale. COR, for examples, does that.

Anyway, a quick fix for you would be to switch to an English-based locale
whenever you use PCEnv, at least until a fix for PCEnv is available
(assuming I have properly diagnosed the problem!).

Best wishes, Alan.

> -----Original Message-----
> From: cellml-discussion-bounces at cellml.org [mailto:cellml-discussion-
> bounces at cellml.org] On Behalf Of Ely Edison Matos
> Sent: 25 July 2007 21:01
> To: CellML Discussion List
> Subject: [cellml-discussion] Using PCEnv 2.0
>
> Hello,
> My name is Ely Matos. I'm studying CellML Models in a academic project.
> I've
> downloaded PCEnv 2.0 and some models from repository. But my first use,
> loading the file "hodgkin_huxley_1952_version06.cellml" show a strange
> error:
>
> Error: Variable g_L has initial_value 0.3 which isn't a valid floating
> point
> number, nor a valid variable name within that component.
>
> How can I fix it? The Integrate button don't appear.
>
> Sorry, if here is not the right to place to this question (if so, plz,
> indicate the right place..:-))
>
> Thanks,
> Ely Matos
> Federal University of Juiz de Fora - Brazil
>
>
>
> _______________________________________________
> cellml-discussion mailing list
> cellml-discussion at cellml.org
> http://www.cellml.org/mailman/listinfo/cellml-discussion





Archive powered by MHonArc 2.6.18.

Top of page