Ignore:
Timestamp:
05/23/16 13:52:53 (9 years ago)
Author:
Maciej Komosinski
Message:

checkValidity() and validate() are now aware of genotype name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/f9/oper_f9.cpp

    r348 r513  
    2626}
    2727
    28 int GenoOper_f9::checkValidity(const char* gene)
     28int GenoOper_f9::checkValidity(const char* gene, const char *genoname)
    2929{
    3030        if (!gene[0]) return 1; //empty is not valid
     
    3636
    3737///Remove all invalid letters from the genotype
    38 int GenoOper_f9::validate(char *&gene)
     38int GenoOper_f9::validate(char *&gene, const char *genoname)
    3939{
    4040        SString validated; //new genotype (everything except turtle_commands_f9 is skipped)
Note: See TracChangeset for help on using the changeset viewer.