[MOBY-guts] biomoby commit

Mark Wilkinson mwilkinson at pub.open-bio.org
Tue Aug 17 23:24:32 UTC 2004


mwilkinson
Tue Aug 17 19:24:32 EDT 2004
Update of /home/repository/moby/moby-live/Perl/MOBY/RDF
In directory pub.open-bio.org:/tmp/cvs-serv24474/MOBY/RDF

Modified Files:
	ServiceInstanceRDF.pm 
Log Message:
both primary and secondary inputs should be part of the same rdf:Bag

moby-live/Perl/MOBY/RDF ServiceInstanceRDF.pm,1.8,1.9
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/RDF/ServiceInstanceRDF.pm,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- /home/repository/moby/moby-live/Perl/MOBY/RDF/ServiceInstanceRDF.pm	2004/08/17 17:15:36	1.8
+++ /home/repository/moby/moby-live/Perl/MOBY/RDF/ServiceInstanceRDF.pm	2004/08/17 23:24:32	1.9
@@ -97,10 +97,10 @@
     _addResource($model, MP, 'performs_task', $subject, SRV, $service->type); # dublin core title
 
     my $inputs = $service->input;
+    push @$inputs, @{$service->secondary};
     
     my $outputs = $service->output;
 
-    my $secondary = $service->secondary;
 
     my $InputArticles = MOBY::RDF::InOutArticlesRDF->new(
                                                          model => $model,
@@ -115,13 +115,6 @@
                                                          subject => $subject,
                                                          articles => $outputs,
                                                         );
-                                                          
-    my $SecondaryArticles = MOBY::RDF::InOutArticlesRDF->new(
-                                                         model => $model,
-                                                         type => 'consumes',
-                                                         subject => $subject,
-                                                         articles => $secondary,
-                                                        );
 
 }
 




More information about the MOBY-guts mailing list