Show
Ignore:
Timestamp:
14/08/09 16:29:27 (3 years ago)
Author:
westram
Message:
  • spellchecked all (phew)
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/EDIT4/ED4_ProteinViewer.cxx

    r6100 r6141  
    294294                    if (speciesManager && !speciesManager->flag.is_consensus && !speciesManager->flag.is_SAI) { 
    295295                        // we are in the sequence terminal section of a species 
    296                         // walk through all the corresponding AA sequence terminals for the speecies and  
     296                        // walk through all the corresponding AA sequence terminals for the species and  
    297297                        // hide or unhide the terminals based on the display options set by the user 
    298298                        for(int i=0; i<PV_AA_Terminals4Species; i++) { 
     
    353353                        if (speciesManager && !speciesManager->flag.is_consensus && !speciesManager->flag.is_SAI) { 
    354354                            // we are in the sequence terminal section of a species 
    355                             // walk through all the corresponding AA sequence terminals for the speecies and  
     355                            // walk through all the corresponding AA sequence terminals for the species and  
    356356                            // hide or unhide the terminals based on the display options set by the user 
    357357                            ED4_species_name_terminal *speciesNameTerm = speciesManager->search_spec_child_rek(ED4_L_SPECIES_NAME)->to_species_name_terminal(); 
     
    704704                    { 
    705705                        // we are in the sequence terminal section of a species 
    706                         // walk through all the corresponding AA sequence terminals for the speecies and  
     706                        // walk through all the corresponding AA sequence terminals for the species and  
    707707                        // hide or unhide the terminals based on the display options set by the user 
    708708                        for(int i=0; i<PV_AA_Terminals4Species; i++)  
     
    716716                                    int   aaStartPos = int(aaSeqTerminal->GET_aaStartPos());  
    717717                                    int aaStrandType = int(aaSeqTerminal->GET_aaStrandType());  
    718                                     // retranslate the genesequence and store it to the AA_sequnce_terminal 
     718                                    // retranslate the genesequence and store it to the AA_sequence_terminal 
    719719                                    TranslateGeneToAminoAcidSequence(root, aaSeqTerminal, speciesName, aaStartPos-1, aaStrandType); 
    720720                                } 
     
    767767                                        int   aaStartPos = int(aaSeqTerminal->GET_aaStartPos());  
    768768                                        int aaStrandType = int(aaSeqTerminal->GET_aaStrandType());  
    769                                         // retranslate the genesequence and store it to the AA_sequnce_terminal 
     769                                        // retranslate the genesequence and store it to the AA_sequence_terminal 
    770770                                        TranslateGeneToAminoAcidSequence(ED4_ROOT->aw_root, aaSeqTerminal, speciesName, aaStartPos-1, aaStrandType); 
    771771                                } 
     
    795795            ED4_sequence_info_terminal *new_SeqInfoTerminal = 0; 
    796796            if (i<FORWARD_STRANDS)  
    797                 sprintf(namebuffer, "F%d ProtienInfo_Term%ld.%d",i+1,ED4_counter, count++); 
     797                sprintf(namebuffer, "F%d ProteinInfo_Term%ld.%d",i+1,ED4_counter, count++); 
    798798            else if ((i-FORWARD_STRANDS)<COMPLEMENTARY_STRANDS)   
    799                 sprintf(namebuffer, "C%dProtienInfo_Term%ld.%d",(i-FORWARD_STRANDS)+1,ED4_counter, count++); 
     799                sprintf(namebuffer, "C%dProteinInfo_Term%ld.%d",(i-FORWARD_STRANDS)+1,ED4_counter, count++); 
    800800            else 
    801                 sprintf(namebuffer, "DBProtienInfo_Term%ld.%d",ED4_counter, count++); 
     801                sprintf(namebuffer, "DBProteinInfo_Term%ld.%d",ED4_counter, count++); 
    802802            new_SeqInfoTerminal = new ED4_sequence_info_terminal(namebuffer, 0, 0, SEQUENCEINFOSIZE, TERMINALHEIGHT, new_SeqManager ); 
    803803            new_SeqInfoTerminal->set_properties( (ED4_properties) (ED4_P_SELECTABLE | ED4_P_DRAGABLE | ED4_P_IS_HANDLE) ); 
     
    862862                            { 
    863863                                ED4_terminal *terminal = spNameTerm->corresponding_sequence_terminal(); 
    864                                 // $$$ If next terminal is species_name terminal => corresponding AA seq terminal doesnt exist ==> create one $$$ 
     864                                // $$$ If next terminal is species_name terminal => corresponding AA seq terminal doesn't exist ==> create one $$$ 
    865865                                terminal = terminal->get_next_terminal(); 
    866866                                if (terminal->is_species_name_terminal() || terminal->is_spacer_terminal())  
     
    928928    if (!gTerminalsCreated) { 
    929929        // AWAR_PROTEIN_TYPE is not initialized (if called from ED4_main before creating proteinViewer window) 
    930         // so, initilize it here 
     930        // so, initialize it here 
    931931        root->awar_int(AWAR_PROTEIN_TYPE, AWAR_PROTEIN_TYPE_bacterial_code_index, GLOBAL_gb_main); 
    932932        PV_CreateAllTerminals(root);