Ignore:
Timestamp:
02/26/14 20:21:22 (10 years ago)
Author:
sz
Message:

Genetics reorganization (affects ALL applications!):

  • Converters/Validators? are now configured/initialized in a more verbose but also less confusing way
  • At the same time, the PreconfiguredGenetics? object will help you avoid the increased complexity by creating the ready-to-use environment that is sufficient in 99% of cases (see the demos)
  • Format F genetics updated (work in progress)
File:
1 edited

Legend:

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

    r124 r145  
    88#include <frams/virtfile/stdiofile.h>
    99
     10#include <frams/genetics/preconfigured.h>
    1011#include <frams/model/model.h>
    11 #include <frams/genetics/defgenoconv.h>
    1212#include <frams/errmgr/stdouterr.h>
    1313#include <frams/virtfile/stringfile.h>
    1414
    15 StdoutErrorHandler err; //redirect model-related errors to stdout
    16 DefaultGenoConvManager gcm; //without this object the application would only handle "format 0" genotypes
    17 
    1815int main(int argc,char*argv[])
    1916{
     17StdoutErrorHandler err;//the default ErrorHandler constructor automatically registers this object to receive framsg messages (and in this case, redirect them to standard output)
     18PreconfiguredGenetics genetics;
     19
    2020SString gen(argc>1?argv[1]:"X[|G:1.23]");
    2121if (!strcmp(gen,"-"))
Note: See TracChangeset for help on using the changeset viewer.