[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Thu Nov 29 19:45:55 UTC 2007


kawas
Thu Nov 29 14:45:54 EST 2007
Update of /home/repository/moby/moby-live/Perl/MOBY/RDF/Ontologies
In directory dev.open-bio.org:/tmp/cvs-serv31887/RDF/Ontologies

Modified Files:
	Services.pm 
Log Message:
added statement to ensure that is_alive_path is defined before using
moby-live/Perl/MOBY/RDF/Ontologies Services.pm,1.7,1.8
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/RDF/Ontologies/Services.pm,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- /home/repository/moby/moby-live/Perl/MOBY/RDF/Ontologies/Services.pm	2007/11/29 17:52:40	1.7
+++ /home/repository/moby/moby-live/Perl/MOBY/RDF/Ontologies/Services.pm	2007/11/29 19:45:54	1.8
@@ -305,7 +305,7 @@
 		);
 
 		# TODO get this value!
-		if ( -e $self->{is_alive_path} ) {
+		if ( $self->{is_alive_path} and -e $self->{is_alive_path} ) {
 			my $parser = XML::LibXML->new();
 			my $doc    =
 			  $parser->parse_file(




More information about the MOBY-guts mailing list