Show
Ignore:
Timestamp:
19/01/10 14:11:52 (2 years ago)
Author:
westram
Message:
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/stable_5.0/EDIT4/EDB_root_bact.cxx

    r5929 r6358  
    7575    } 
    7676 
    77  
    7877    if (!gb_datamode) { // didn't find this species 
    7978        char dummy[150]; 
    80         all_found++; 
    81         sprintf(dummy,"%ld. %s\n",all_found, str); 
    82         GBS_strcat(not_found_message,dummy); 
     79        not_found_counter++; 
     80        if (not_found_counter <= MAX_SHOWN_MISSING_SPECIES) { 
     81            sprintf(dummy,"%zu. %s\n", not_found_counter, str); 
     82            GBS_strcat(not_found_message,dummy); 
     83        } 
    8384        return ED4_R_BREAK; 
    8485    } 
    8586 
    86     // check whether sequence has data in desired alignment 
     87        // check whether sequence has data in desired alignment 
    8788    bool has_alignment = 0 != GB_entry(gb_datamode,ED4_ROOT->alignment_name); 
    8889    if (!has_alignment) { 
    8990        if (datamode == ED4_D_SPECIES) { // only warn about species w/o data (SAIs are skipped silently) 
    9091            char dummy[150]; 
    91             all_found++; 
    92             sprintf(dummy,"%ld. %s (no data in alignment)\n",all_found, str); 
    93             GBS_strcat(not_found_message,dummy); 
     92            not_found_counter++; 
     93            if (not_found_counter <= MAX_SHOWN_MISSING_SPECIES) { 
     94                sprintf(dummy,"%zu. %s (no data in alignment)\n", not_found_counter, str); 
     95                GBS_strcat(not_found_message,dummy); 
     96            } 
    9497        } 
    9598        return ED4_R_BREAK; 
     
    138141    local_count_position += max(name_coords, seq_coords); 
    139142    name_coords = seq_coords = 0; 
    140     species_read ++; 
    141143 
    142144    if (!(multi_species_manager->flag.hidden)) { 
     
    586588    sequence_terminal->parent->resize_requested_by_child(); 
    587589 
    588     species_read ++; 
    589590    (*y) += height_terminal + height_spacer; 
    590591