[MOBY-guts] biomoby commit

Mark Wilkinson mwilkinson at pub.open-bio.org
Wed Jun 25 20:17:45 UTC 2003

Wed Jun 25 16:17:44 EDT 2003
Update of /home/repository/moby/moby-live/Perl/MOBY
In directory pub.open-bio.org:/tmp/cvs-serv16451/MOBY

Modified Files:
Log Message:
added the CGI client program back into the repository.  It seems to run successfully with simple services, but doesn't deal with collections or services with complicated input signatures - one object in, one object out is all it can deal with.  Fixed bug in MOBY Central where discovery was not properly paying attention to namespaces.

moby-live/Perl/MOBY Central.pm,1.81,1.82
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Central.pm,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- /home/repository/moby/moby-live/Perl/MOBY/Central.pm	2003/06/23 21:58:45	1.81
+++ /home/repository/moby/moby-live/Perl/MOBY/Central.pm	2003/06/25 20:17:44	1.82
@@ -1917,7 +1917,7 @@
 	my $nonamespaces = $ns->getLength;
 	$OS= MOBY::OntologyServer->new(ontology => 'namespace'); 
 	for (my $n=0; $n<$nonamespaces; ++$n){
-		my @child = $x->item($n)->getChildNodes;
+		my @child = $ns->item($n)->getChildNodes;
 		foreach (@child){
 			$debug && &_LOG ($_->getNodeTypeName, "\t", $_->toString,"\n");
 			next unless ($_->getNodeType == TEXT_NODE);

More information about the MOBY-guts mailing list