[MOBY-guts] biomoby commit

Mark Wilkinson mwilkinson at pub.open-bio.org
Thu May 8 19:38:37 UTC 2003


mwilkinson
Thu May  8 15:38:37 EDT 2003
Update of /home/repository/moby/moby-live/Perl/MOBY
In directory pub.open-bio.org:/tmp/cvs-serv3536/Perl/MOBY

Modified Files:
	Central.pm 
Log Message:
fixed problem with HASA not getting articleName
moby-live/Perl/MOBY Central.pm,1.38,1.39
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Central.pm,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- /home/repository/moby/moby-live/Perl/MOBY/Central.pm	2003/05/08 19:32:59	1.38
+++ /home/repository/moby/moby-live/Perl/MOBY/Central.pm	2003/05/08 19:38:37	1.39
@@ -294,9 +294,9 @@
 		my at HASAS= @{$HASA};
 		foreach my $hasa(@HASAS){
 			my ($keyvalue, $values) = @{$hasa};
-			my ($articleName,$has_term) = @{$keyvalue};
+			my ($articleName,$has_term) = @{$values};
 			my ($success, $message) = $OntologyServer->addObjectHASA(
-				node => $term,
+				node => $keyvalue,
 				HASA => $has_term,
 				authority => $auth,
 				contact_email => $email,




More information about the MOBY-guts mailing list