[MOBY-guts] biomoby commit

Mark Wilkinson mwilkinson at pub.open-bio.org
Wed Jun 18 16:30:56 UTC 2003


mwilkinson
Wed Jun 18 12:30:56 EDT 2003
Update of /home/repository/moby/moby-live/Perl/MOBY/Client
In directory pub.open-bio.org:/tmp/cvs-serv10984/Perl/MOBY/Client

Modified Files:
	Central.pm 
Log Message:
error in the code for service registration.  secondary articles always failed due to a badly written test.  Documentation updated, including the new retrieveObjectDefinition method

moby-live/Perl/MOBY/Client Central.pm,1.33,1.34
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Client/Central.pm,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- /home/repository/moby/moby-live/Perl/MOBY/Client/Central.pm	2003/06/11 20:36:59	1.33
+++ /home/repository/moby/moby-live/Perl/MOBY/Client/Central.pm	2003/06/18 16:30:56	1.34
@@ -528,7 +528,7 @@
 		my %SEC;
 		if ($a{'secondary'} && ref($a{'secondary'} =~ /hash/i)){
 			%SEC = %{$a{secondary}}
-		} elsif ($a{'secondary'} && !(ref($a{'secondary'} =~ /hash/i))){
+		} elsif ($a{'secondary'} && !(ref($a{'secondary'}) =~ /hash/i)){
 			return $self->errorRegXML("invalid structure of secondary parameters.  Expected hashref.")
 		}
 				




More information about the MOBY-guts mailing list