function tripal_featuremap_install

2.x tripal_featuremap.install tripal_featuremap_install()
3.x tripal_featuremap.install tripal_featuremap_install()
1.x tripal_featuremap.install tripal_featuremap_install()

Implementation of hook_install().

Related topics

File

legacy/tripal_featuremap/tripal_featuremap.install, line 49
Handles installation of the feature map module

Code

function tripal_featuremap_install() {

  // add the featuremapprop table to Chado
  tripal_featuremap_add_custom_tables();

  // Add cvterms
  tripal_featuremap_add_cvs();
  tripal_featuremap_add_cvterms();

  // set the default vocabularies
  tripal_set_default_cv('featuremapprop', 'type_id', 'featuremap_property');
  tripal_set_default_cv('featureposprop', 'type_id', 'featurepos_property');
  tripal_set_default_cv('featuremap', 'unittype_id', 'featuremap_units');
}