[MOBY-guts] biomoby commit

Nina Opushneva nopushneva at pub.open-bio.org
Tue Mar 22 19:39:56 UTC 2005


nopushneva
Tue Mar 22 14:39:56 EST 2005
Update of /home/repository/moby/moby-live/Perl/MOBY
In directory pub.open-bio.org:/tmp/cvs-serv13718

Modified Files:
	Central.pm 
Log Message:
add a parameter for calling the rdfagent by mobycentral.config file 

moby-live/Perl/MOBY Central.pm,1.150,1.151
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Central.pm,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -r1.150 -r1.151
--- /home/repository/moby/moby-live/Perl/MOBY/Central.pm	2005/03/16 19:14:14	1.150
+++ /home/repository/moby/moby-live/Perl/MOBY/Central.pm	2005/03/22 19:39:55	1.151
@@ -1247,8 +1247,11 @@
   }
 
   if ($ch == 0){
-    my $rez = system("/export/home/nina/rdfagent/run-RDFagent ".$signatureURL);
-
+  
+ use MOBY::Config;
+    my $conf = MOBY::Config -> new(); 
+    my $path = $conf->{mobycentral}->{rdfagent} ;	 	 
+    my $rez = system($path." ".$signatureURL);
     return &_error("The RDFagent call was successful.  Report will send to you by E-mail","") if ($rez == 0);
     return &_error("Some problem with a connection or RDF model building","") if ($rez != 0);
   }




More information about the MOBY-guts mailing list