Browse Source

Displayed term_name instead of accession on screen when creating a new bundle.

ccheng 9 years ago
parent
commit
740ce1c3aa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tripal_chado/includes/tripal_chado.migrate.inc

+ 1 - 1
tripal_chado/includes/tripal_chado.migrate.inc

@@ -326,7 +326,7 @@ function tripal_chado_migrate_selected_types ($tv3_content_types) {
     
     // If term doesn't exist, create a new bundle for this term
     if (!$term) {
-      print("Creating bundle for accession '" . $tv3_content_type['accession'] . "'...\n");
+      print("Creating bundle for term '" . $tv3_content_type['term_name'] . "'...\n");
       $success = tripal_create_bundle($tv3_content_type['namespace'], $tv3_content_type['accession'], $tv3_content_type['term_name']);
       $term = tripal_load_term_entity($tv3_content_type);
     }