myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2823] trunk/lib/workflow_processors: removed deb


From: noreply
Subject: [myexperiment-hackers] [2823] trunk/lib/workflow_processors: removed debug print from taverna 2 and switched others to the logger
Date: Fri, 18 Nov 2011 09:48:25 -0500 (EST)

Revision
2823
Author
dgc
Date
2011-11-18 09:48:24 -0500 (Fri, 18 Nov 2011)

Log Message

removed debug print from taverna 2 and switched others to the logger

Modified Paths

Diff

Modified: trunk/lib/workflow_processors/bio_extract.rb (2822 => 2823)


--- trunk/lib/workflow_processors/bio_extract.rb	2011-11-17 16:03:58 UTC (rev 2822)
+++ trunk/lib/workflow_processors/bio_extract.rb	2011-11-18 14:48:24 UTC (rev 2823)
@@ -42,7 +42,7 @@
         file.rewind
         return !bioextract_model.nil?
       rescue
-        puts $!
+        logger.info($!)
         return false
       end
     end

Modified: trunk/lib/workflow_processors/galaxy.rb (2822 => 2823)


--- trunk/lib/workflow_processors/galaxy.rb	2011-11-17 16:03:58 UTC (rev 2822)
+++ trunk/lib/workflow_processors/galaxy.rb	2011-11-18 14:48:24 UTC (rev 2823)
@@ -176,7 +176,7 @@
 
           workflow
         rescue
-          puts $!
+          logger.info $!
           nil
         end
       end

Modified: trunk/lib/workflow_processors/rapid_miner.rb (2822 => 2823)


--- trunk/lib/workflow_processors/rapid_miner.rb	2011-11-17 16:03:58 UTC (rev 2822)
+++ trunk/lib/workflow_processors/rapid_miner.rb	2011-11-18 14:48:24 UTC (rev 2823)
@@ -45,7 +45,7 @@
         file.rewind
         return !rapid_miner_model.nil?
       rescue
-        puts $!
+        logger.info $!
         return false
       end
     end
@@ -291,7 +291,7 @@
 
           package
         rescue
-          puts $!
+          logger.info $!
           nil
         end
       end

Modified: trunk/lib/workflow_processors/taverna2.rb (2822 => 2823)


--- trunk/lib/workflow_processors/taverna2.rb	2011-11-17 16:03:58 UTC (rev 2822)
+++ trunk/lib/workflow_processors/taverna2.rb	2011-11-18 14:48:24 UTC (rev 2823)
@@ -310,7 +310,6 @@
 
                     processors_element << build('processor') do |processor_element|
 
-puts "PROCESSOR NAME = #{processor.name}"
                       processor_element << build('name',                   processor.name)                   if processor.name
                       processor_element << build('description',            processor.description)            if processor.description
                       processor_element << build('type',                   processor.type)                   if processor.type

reply via email to

[Prev in Thread] Current Thread [Next in Thread]