Hello!

To see the file structure, click on "tree".

Note that updates take place every 10 minutes, commits may not be seen immediately.
Updated annotated_image stored procedure
authorlingutln <lingutln@localhost>
Fri, 10 May 2013 23:25:44 +0000 (23:25 +0000)
committerlingutln <lingutln@localhost>
Fri, 10 May 2013 23:25:44 +0000 (23:25 +0000)
svn path=/; revision=477

image_annotation_db/ia_upload/annotation_data_importer.pl

index 20c509270b12bba16e81fa9cfe5481a7e38d6752..61932a3a2384c61d285ee53e2e7136189eda9c0e 100644 (file)
@@ -121,10 +121,6 @@ sub insert_image_data_into_database
   my $collection_date     = trim($image_data_fields[11]);
   my $comments                   = trim($image_data_fields[15]);
 
-  #$dbh->do('INSERT INTO annotated_image (curator_id, taxon_id, image_path, collection_location, collection_date, ip_comment, doi, source_db_name, source_db_id, comments) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)',
-#          undef, $curator_id, $taxon_id, $image_path, $collection_location, $collection_date, $ip_comment, $doi, $source_db_name, $source_db_id, $comments);
-  #my $annotated_image_id = $dbh->{'mysql_insertid'};
-
   my $annotated_image_id;
   my $sth = $dbh->prepare("call import_annotated_image('$curator_id', '$taxon_id', '$image_path', '$collection_location', '$collection_date', '$ip_comment', '$doi', '$source_db_name', '$source_db_id', '$comments');");
   $sth->execute();