Ignore:
Timestamp:
06/24/15 19:44:54 (10 years ago)
Author:
Maciej Komosinski
Message:

Haplo/diploid forams are visualized correctly since their birth

File:
1 edited

Legend:

Unmodified
Added
Removed
  • experiments/frams/foraminifera/data/scripts/forams_repro.inc

    r401 r403  
    4040                        }
    4141
    42                         var cr = Populations[0].add("//0\np:sh=1,sx=" + rsize + ",sy=" + rsize + ",sz=" + rsize + ", rz=3.14159265358979");
     42                        var geno = "//0\np:sh=1,sx=" + rsize + ",sy=" + rsize + ",sz=" + rsize + ", rz=3.14159265358979";
     43                        geno += "\nn:p=0,d=\"S\""; //TODO is this the only difference with haploid code? TODO why initial genotypes are not used as defined in ExpParams?
     44                        var cr = Populations[0].add(geno);
    4345                        cr.energ0 = ExpParams.ofnumd;
    4446                        cr.energy = cr.energ0;
     
    102104
    103105                                        var geno = "//0\np:sh=1,sx=" + rsize + ",sy=" + rsize + ",sz=" + rsize + ", rz=3.14159265358979";
    104                                         geno += "\nn:p=0,d=\"S\""; //TODO is this the only difference with haploid code? TODO why initial genotypes are not used as defined in ExpParams?
    105106                                        var cr = Populations[0].add(geno);
    106107                                        cr.energ0 = ExpParams.ofnumh;
Note: See TracChangeset for help on using the changeset viewer.