[MOBY-guts] biomoby commit

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


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

Modified Files:
	Central.pm 
Log Message:
fixed problem with HASA not getting articleName
moby-live/Perl/MOBY Central.pm,1.40,1.41
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Central.pm,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- /home/repository/moby/moby-live/Perl/MOBY/Central.pm	2003/05/08 19:41:52	1.40
+++ /home/repository/moby/moby-live/Perl/MOBY/Central.pm	2003/05/08 19:44:46	1.41
@@ -294,7 +294,7 @@
 		my at HASAS= @{$HASA};
 		foreach my $hasa(@HASAS){
 			my ($keyvalue, $values) = @{$hasa};
-			while (my ($articleName,$has_term) = %{$values}){
+			while (my ($articleName,$has_term) = each %{$values}){
 				my ($success, $message) = $OntologyServer->addObjectHASA(
 					node => $keyvalue,
 					HASA => $has_term,




More information about the MOBY-guts mailing list