public function OBOImporter::postRun
3.x OBOImporter.inc | public OBOImporter::postRun() |
Overrides TripalImporter::postRun
See also
File
- tripal_chado/
includes/ TripalImporter/ OBOImporter.inc, line 408
Class
Code
public function postRun() {
// Update the cv_root_mview materiailzed view.
$this->logMessage("Updating the cv_root_mview materialized view...");
$mview_id = chado_get_mview_id('cv_root_mview');
chado_populate_mview($mview_id);
$this->logMessage("Updating the db2cv_mview materialized view...");
$mview_id = chado_get_mview_id('db2cv_mview');
chado_populate_mview($mview_id);
// Upate the cvtermpath table for each newly added CV.
$this->logMessage("Updating cvtermpath table. This may take a while...");
foreach ($this->newcvs as $namespace => $cvid) {
$this->logMessage("- Loading paths for @vocab", array('@vocab' => $namespace));
chado_update_cvtermpath($cvid);
}
}