Changeset 6358 for branches/stable_5.0/EDIT4/EDB_root_bact.cxx
- Timestamp:
- 19/01/10 14:11:52 (2 years ago)
- Files:
-
- 1 modified
-
branches/stable_5.0/EDIT4/EDB_root_bact.cxx (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/stable_5.0/EDIT4/EDB_root_bact.cxx
r5929 r6358 75 75 } 76 76 77 78 77 if (!gb_datamode) { // didn't find this species 79 78 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 } 83 84 return ED4_R_BREAK; 84 85 } 85 86 86 // check whether sequence has data in desired alignment87 // check whether sequence has data in desired alignment 87 88 bool has_alignment = 0 != GB_entry(gb_datamode,ED4_ROOT->alignment_name); 88 89 if (!has_alignment) { 89 90 if (datamode == ED4_D_SPECIES) { // only warn about species w/o data (SAIs are skipped silently) 90 91 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 } 94 97 } 95 98 return ED4_R_BREAK; … … 138 141 local_count_position += max(name_coords, seq_coords); 139 142 name_coords = seq_coords = 0; 140 species_read ++;141 143 142 144 if (!(multi_species_manager->flag.hidden)) { … … 586 588 sequence_terminal->parent->resize_requested_by_child(); 587 589 588 species_read ++;589 590 (*y) += height_terminal + height_spacer; 590 591
