lib/bio-ucsc/petmar1.rb in bio-ucsc-api-0.3.1 vs lib/bio-ucsc/petmar1.rb in bio-ucsc-api-0.4.0

- old
+ new

@@ -1,22 +1,23 @@ # # = AUTOMATIC Table Definition of the Lamprey Mar. 2007 (WUGSC 3.0/petMar1) assembly -# Copyright:: Copyright (C) 2011 +# Copyright:: Copyright (C) 2011, 2012 # MISHIMA, Hiroyuki # <missy at be.to / hmishima at nagasaki-u.ac.jp> # License:: The Ruby licence (Ryby's / GPLv2 dual) # -require "#{File.dirname(__FILE__)}/petmar1/db_connection" -require "#{File.dirname(__FILE__)}/table_class_detector" +require "#{::File.dirname(__FILE__)}/db_connector" +require "#{::File.dirname(__FILE__)}/table_class_detector" module Bio module Ucsc module PetMar1 CHROMS = %() # many contigs - extend TableClassDetector + include DBConnector + DBConnection.database "petMar1" - base = "#{File.dirname(__FILE__)}/gasacu1" + base = "#{::File.dirname(__FILE__)}/petMar1" end end end