]> git.donarmstrong.com Git - biopieces.git/commitdiff
removed unused code from find_adaptor
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Mon, 30 May 2011 08:46:04 +0000 (08:46 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Mon, 30 May 2011 08:46:04 +0000 (08:46 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1443 74ccb610-7750-0410-82ae-013aeee3265d

bp_bin/find_adaptor

index be8a0c297bac85384fd7f60a9581d661404e6d77..b550e630860ed06f4b29fbb6adfd033dc6130784 100755 (executable)
@@ -48,37 +48,6 @@ class PatScan
     pat.write(@file_pattern)
   end
 
-#  def run
-#    child_count = 0
-#
-#    @files_fasta.each do |file|
-#      if fork
-#        Process.wait if ( child_count += 1 ) >= @cpus
-#      else
-#        command = command_compile(file)
-#        system(command)
-#        raise PatScanError, "Command failed: #{command}" unless $?.success?
-#        exit
-#      end
-#    end
-#  end
-
-#  def run
-#    child_count = 0
-#
-#    @files_fasta.each do |file|
-#      Thread.pass while child_count >= @cpus
-#      child_count += 1
-#
-#      Thread.new do
-#        command = command_compile(file)
-#        system(command)
-#        raise PatScanError, "Command failed: #{command}" unless $?.success?
-#        child_count -= 1
-#      end
-#    end
-#  end
-
   def run
     child_count = 0
     ch_mutex = Mutex.new