function tripal_analysis_update_6001

1.x tripal_analysis.install tripal_analysis_update_6001()

Provide update script for adding new cvterms

File

tripal_analysis/tripal_analysis.install, line 197
Implements hooks from the Schema API

Code

function tripal_analysis_update_6001() {
  // we have some new cvterms to add
  tripal_cv_add_cvterm(array('name' => 'based_on_analysis', 'def' => 'The analysis that this analysis was based on. For example, blast/kegg/interpro analyses are based on a unigene analysis. The unigene analysis_id should be stored in analysisprop as the rank using this cvterm. The name of said unigene analysis can be inserted as the value in analysisprop.'), 'tripal', 0, 1, 'tripal');
  tripal_cv_add_cvterm(array('name' => 'additional_files', 'def' => 'Additional files for this analysis. Each file should be separated by a semi-colon and have this format: <file description>, <file path>;'), 'tripal', 0, 1, 'tripal');
  $ret = array(
    '#finished' => 1,
  );
  return $ret;
}