Browse Source

Issue #72: Updating API to include 2.1 improvements: 49f1014

Stephen Ficklin 7 years ago
parent
commit
a6b34f9edf

+ 2 - 2
legacy/tripal_core/includes/tripal_core.form_elements.inc

@@ -177,7 +177,7 @@ function expand_sequence_combo($element, $form_state, $complete_form) {
   $element['upstream'] = array(
      '#type' => 'textfield',
      '#title' => t('Get Upstream Bases'),
-     '#description' => t('Specify the number of upstream bases to include in the sequnce'),
+     '#description' => t('Specify the number of upstream bases to include in the sequence'),
      '#default_value' => $element['#value']['upstream'],
   );
   // add the downstream box
@@ -187,7 +187,7 @@ function expand_sequence_combo($element, $form_state, $complete_form) {
      '#type' => 'textfield',
      '#prefix' => '<br>',
      '#title' => t('Get Downstream Bases'),
-     '#description' => t('Specify the number of downstream bases to include in the sequnce'),
+     '#description' => t('Specify the number of downstream bases to include in the sequence'),
      '#default_value' => $element['#value']['downstream'],
   );
   return $element;

+ 1 - 1
legacy/tripal_feature/theme/templates/tripal_feature_sequence.tpl.php

@@ -171,7 +171,7 @@ if ($residues or count($featureloc_sequences) > 0) {
       // that one mRNA is only aligned to a single location on the assembly so we
       // can access the CDS sequence with index 0.
       if ($cds_sequence[0]['residues']) {
-        $list_items[] = '<a href="#coding_' . $attrs['id'] . '">coding sequnece from alignment at  ' . $attrs['location'] . "</a>";
+        $list_items[] = '<a href="#coding_' . $attrs['id'] . '">coding sequence from alignment at  ' . $attrs['location'] . "</a>";
         $sequences_html .= '<a name="ccoding_' . $attrs['id'] . '"></a>';
         $sequences_html .= '<div id="coding_' . $attrs['id'] . '" class="tripal_feature-sequence-item">';
         $sequences_html .= '<p><b>Coding sequence (CDS) from alignment at  ' . $attrs['location'] . '</b></p>';