deps/kb_meme/meme-5.0.1/src/dreme-sax.c
/*****************************************************************************
 * dreme > model > stop
 *
 *  evalue          the stopping evalue (returned as log10).
 *  count           the stopping count.
 *  time            the stopping time.
 ****************************************************************************/
dreme > model > stop
evalue          the stopping evalue (returned as log10).
count           the stopping count.
time            the stopping time.
dreme > model > stop evalue the stopping evalue ( returned as log10 ) . count the stopping count . time the stopping time .
static void start_ele_stop(PS_T *ps, const xmlChar **attrs) {
  int count, time;
  double log10evalue;
  char* names[3] = {"count", "evalue", "time"};
  int (*parsers[3])(char*, void*) = {ld_int, ld_log10_ev, ld_int};
  void *data[3] = {&count, &log10evalue, &time};
  bool required[3] = {false, false, false};
  bool done[3];
  parse_attributes(dreme_attr_parse_error, ps, "stop", attrs, 3, names, parsers, data, required, done);
  if (ps->callbacks->handle_stop && ps->state != PS_ERROR) {
    ps->callbacks->handle_stop(ps->user_data, &log10evalue, &count, &time);
  }
}
static void start_ele_stop ( PS_T * ps , const xmlChar * * attrs ) { int count , time ; double log10evalue ; char * names [ 3 ] = { " " , " " , " " } ; int ( * parsers [ 3 ] ) ( char * , void * ) = { ld_int , ld_log10_ev , ld_int } ; void * data [ 3 ] = { & count , & log10evalue , & time } ; bool required [ 3 ] = { false , false , false } ; bool done [ 3 ] ; parse_attributes ( dreme_attr_parse_error , ps , " " , attrs , 3 , names , parsers , data , required , done ) ; if ( ps -> callbacks -> handle_stop && ps -> state != PS_ERROR ) { ps -> callbacks -> handle_stop ( ps -> user_data , & log10evalue , & count , & time ) ; } }
dreme > model > stop
  evalue          the stopping evalue (returned as log10).
dreme > model > stop evalue the stopping evalue ( returned as log10 ) .