what does num: mean in a *.gen file 

Hi, i'm building a *.gen exporter, so i can create starting genotypes from
within another program and export the structure as ASCII in a format that
framsticks can read. So i had a look at a default f0 *.gen file and analyzed
it and its very simple, except what i don't get is what the NUM: stands for
as in: >>> (in this example num:26)

~
info:~
An example of a table - described by format #0 (f0) genotype.~
num:26
gnum:0
popsiz:0
lifespan:0
velocity:0
distance:0

thx

Forums: 
Maciej Komosinski's picture

> Hi, i'm building a *.gen exporter, so i can create starting genotypes from
> within another program and export the structure as ASCII in a format that
> framsticks can read. So i had a look at a default f0 *.gen file and analyzed
> it and its very simple, except what i don't get is what the NUM: stands for
> as in: >>> (in this example num:26)

num is just the ordinal number for each genotype. BTW, use the
Framsticks 2.9 release candidate for your tests.
See also the FRED program, it loads and saves *.gen files.

MacKo

Uzytkownik "Maciej Komosinski"
napisal w wiadomosci
news:c9q7lh$p31$1@cancer.cs.put.poznan.pl...

> BTW, use the
> Framsticks 2.9 release candidate for your tests.

Where's new version? I don't have time to "to framstick" recently, but I
always like to install beta applications for testing. :-)

Regards

yep i will, just downloaded it. I have another question:

When loading the created gen file it prompts me in the genotype data window
with the following errors:

Model: internalCheck - delta too big in joint #0 (and every other joint)

what does this 'delta' mean? (i attach my *gen file as i created it, maybe
you could have a look)

------------------------------------------------------------
org:
name:20131
genotype:~
//0
p:
p:3.80442,6.25819,17.724
p:9.84715,1.36397,18.4155
p:16.6827,-1.88003,18.1633
p:24.5875,-1.42745,18.0039
p:10.6164,5.56624,25.5366
p:5.17342,13.3012,18.6442
p:5.65758,13.6926,11.1674
p:1.96829,14.9,5.00881
p:10.1272,21.1534,11.8463
p:17.4764,19.4682,11.1527
p:25.9135,18.0857,17.9444
p:24.5221,12.5671,25.7794
j:0,1
j:1,2
j:2,3
j:3,4
j:4,5
j:5,6
j:6,7
j:7,8
j:8,9
j:9,10
j:10,11
j:11,0
~
info:~
Structure Generated by Virtools
designed by: Chris Kievid~
num:0
gnum:0
popsiz:0
lifespan:0
velocity:0
distance:0
vertvel:0
vertpos:0
user1:null
user3:null
user3:null
------------------------------------------------------------------

"Maciej Komosinski"
wrote in message news:c9q7lh$p31$1@cancer.cs.put.poznan.pl...
> > Hi, i'm building a *.gen exporter, so i can create starting genotypes
from
> > within another program and export the structure as ASCII in a format
that
> > framsticks can read. So i had a look at a default f0 *.gen file and
analyzed
> > it and its very simple, except what i don't get is what the NUM: stands
for
> > as in: >>> (in this example num:26)
>
> num is just the ordinal number for each genotype. BTW, use the
> Framsticks 2.9 release candidate for your tests.
> See also the FRED program, it loads and saves *.gen files.
>
>
> MacKo
>

ok, i have sorted out whats partially causing the erros (didn't now that
'p:' is a default coordinate). But anyway, i can now load my exported file
into FRED, but not in Framsticks?? (even if i resave from FRED and try to
open in Frams. Again i attach the *.gen file and maybe someone can see
what's wrong. (allthough i'm pretty sure it is not my *.gen file)

---------------------------------------

org:
name:test
author:unknown
info:~none~
genotype:~
//0
p: 1.85511, -1.88108, 1.88827
p: 1.80354, -1.2168, 1.87091
p: 2.47419, -0.556897, 1.79281
p: 2.56956, 0.146427, 1.84305
p: 1.89211, -1.88065, 2.6447
p: 1.82929, -1.20546, 1.18113
p: 2.62093, -0.540785, 0.469485
p: 2.5562, 0.189668, 0.362452
p: 1.89256, -1.22994, 0.487881
p: 2.50033, -0.559223, 1.11947
p: 1.86854, -1.86386, 1.14654
p: 2.58066, -1.8802, 1.15735
j: 0, 1
j: 1, 2
j: 2, 3
j: 3, 4
j: 4, 0
j: 0, 5
j: 5, 6
j: 6, 7
j: 7, 8
j: 8, 9
j: 9, 10
j: 10, 11
j: 11, 0
~

Maciej Komosinski's picture

> org:
> name:test
> author:unknown
> info:~none~

if you use multiline strings, the syntax is

name:~
lines
of
text~

for single line values, don't use "~", just

name:value

> genotype:~
> //0
> p: 1.85511, -1.88108, 1.88827
> p: 1.80354, -1.2168, 1.87091
> p: 2.47419, -0.556897, 1.79281
> ...

As you see in Framsticks (and Fred), it says
"delta too big on joint #x".
The maximum length of a joint is 2.

MacKo