Browse Source

Fixed issue #232

Stephen Ficklin 7 years ago
parent
commit
91c8ed5217
1 changed files with 0 additions and 4 deletions
  1. 0 4
      tripal_chado/api/modules/tripal_chado.phylotree.api.inc

+ 0 - 4
tripal_chado/api/modules/tripal_chado.phylotree.api.inc

@@ -66,10 +66,6 @@ function tripal_validate_phylotree($val_type, &$options, &$errors, &$warnings) {
       $errors['description'] = t('Please provide a description for this tree.');
       return FALSE;
     }
-    if (!array_key_exists('analysis', $options) and !array_key_exists('analysis_id', $options)) {
-      $errors['analysis'] = t('Please provide an analysis or analysis_id for this tree.');
-      return FALSE;
-    }
     if (!array_key_exists('tree_file', $options)) {
       $errors['tree_file'] = t('Please provide either the full path to the tree_file or a Drupal managed file ID number.');
       return FALSE;