Ignore:
Timestamp:
07/20/16 01:17:14 (8 years ago)
Author:
Maciej Komosinski
Message:

Renamed: get/setGene -> get/setGenes, setGeneOnly -> setGenesAssumingSameFormat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/_demos/genoconv_test.cpp

    r527 r534  
    5151mod.getPart(1)->p=Pt3D(0,0.2,-1);
    5252mod.close();
    53 return mod.getGeno().getGene();
     53return mod.getGeno().getGenes();
    5454}
    5555~GenoConv_Test2() {}
     
    112112{
    113113printf("Genotype:\n%s\nFormat: %c\nValid: %s\nComment: %s\n",
    114         g.getGene().c_str(),g.getFormat(),g.isValid()?"yes":"no",g.getComment().c_str());
     114        g.getGenes().c_str(),g.getFormat(),g.isValid()?"yes":"no",g.getComment().c_str());
    115115}
    116116
     
    159159        printf("conversion map:\n");
    160160        m.print();
    161         printConvMap(g1.getGene(),g2.getGene(),m);
     161        printConvMap(g1.getGenes(),g2.getGenes(),m);
    162162        printf("reverse conversion map:\n");
    163163        MultiMap rm;
    164164        rm.addReversed(m);
    165165        rm.print();
    166         printConvMap(g2.getGene(),g1.getGene(),rm);
     166        printConvMap(g2.getGenes(),g1.getGenes(),rm);
    167167        }
    168168
    169169Model mod1(g1,1);
    170170printf("\nmodel map for f%c genotype:\n",g1.getFormat());
    171 printModelMap(g1.getGene(),mod1.getMap());
     171printModelMap(g1.getGenes(),mod1.getMap());
    172172mod1.getMap().print();
    173173Model mod2(g2,1);
    174174printf("\nmodel map for f%c genotype:\n",g2.getFormat());
    175 printModelMap(g2.getGene(),mod2.getMap());
     175printModelMap(g2.getGenes(),mod2.getMap());
    176176mod2.getMap().print();
    177177return 0;
Note: See TracChangeset for help on using the changeset viewer.