Permalink
Browse files

Created a new dwca-hunt file just for ITIS processing.

  • Loading branch information...
1 parent 0d1defd commit df75420f0d10e16f7de8fecb2d532769e4b69083 @gaurav committed Sep 7, 2012
Showing with 17 additions and 0 deletions.
  1. +17 −0 bin/dwca-hunt-itis.rb
View
@@ -0,0 +1,17 @@
+#!/usr/bin/env ruby
+$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
+require 'dwca-hunter'
+opts = { download: false, unpack: false }
+opts = {}
+DwcaHunter::logger = Logger.new($stdout)
+resources = [
+ # DwcaHunter::ResourceWikispecies.new(opts),
+ # DwcaHunter::ResourceFreebase.new(opts),
+ DwcaHunter::ResourceITIS.new(opts),
+ # DwcaHunter::ResourceNCBI.new(opts),
+ # DwcaHunter::ResourceWoRMS.new(opts)
+]
+resources.each do |r|
+ dh = DwcaHunter.new(r)
+ dh.process
+end

0 comments on commit df75420

Please sign in to comment.