|
@@ -8,7 +8,6 @@
|
|
|
* Implementation of hook_install().
|
|
|
*/
|
|
|
function tripal_analysis_install() {
|
|
|
- tripal_db_set_default_search_path();
|
|
|
|
|
|
// create the module's data directory
|
|
|
tripal_create_moddir('tripal_analysis');
|
|
@@ -31,10 +30,24 @@ function tripal_analysis_install() {
|
|
|
chado_query($sql);
|
|
|
}
|
|
|
|
|
|
- tripal_cv_add_cvterm(array('name' => 'analysis_type', 'def' => 'The type of analysis was performed. This value is automatically set by each Tripal Analysis module and should be equal to the module name (e.g. tripal_analysis_blast, tripal_analysis_go).'), 'tripal', 0, 1, 'tripal');
|
|
|
- tripal_cv_add_cvterm(array('name' => 'analysis_date', 'def' => 'The date that an analysis was performed.'), 'tripal', 0, 1, 'tripal');
|
|
|
- tripal_cv_add_cvterm(array('name' => 'analysis_short_name', 'def' => 'A computer legible (no spaces ' .
|
|
|
- 'or special characters) abbreviation for the analysis.'), 'tripal', 0, 1 , 'tripal');
|
|
|
+ // add some cvterms
|
|
|
+ $term = array(
|
|
|
+ 'name' => 'analysis_type',
|
|
|
+ 'def' => 'The type of analysis was performed. This value is automatically set by '.
|
|
|
+ 'each Tripal Analysis module and should be equal to the module name '.
|
|
|
+ '(e.g. tripal_analysis_blast, tripal_analysis_go).'
|
|
|
+ );
|
|
|
+ tripal_cv_add_cvterm($term, 'tripal', 0, 1, 'tripal');
|
|
|
+ $term = array(
|
|
|
+ 'name' => 'analysis_date',
|
|
|
+ 'def' => 'The date that an analysis was performed.'
|
|
|
+ );
|
|
|
+ tripal_cv_add_cvterm($term,'tripal', 0, 1, 'tripal');
|
|
|
+ $term = array(
|
|
|
+ 'name' => 'analysis_short_name',
|
|
|
+ 'def' => 'A computer legible (no spaces or special characters) abbreviation for the analysis.'
|
|
|
+ );
|
|
|
+ tripal_cv_add_cvterm($term,'tripal', 0, 1 , 'tripal');
|
|
|
}
|
|
|
|
|
|
/**
|