[BioRuby-cvs] bioruby/lib/bio/util restriction_enzyme.rb,1.3,1.4

Trevor Wennblom trevor at pub.open-bio.org
Tue Feb 28 21:45:58 UTC 2006


Update of /home/repository/bioruby/bioruby/lib/bio/util
In directory pub.open-bio.org:/tmp/cvs-serv12521

Modified Files:
	restriction_enzyme.rb 
Log Message:
Fix for enzymes.yaml relative location


Index: restriction_enzyme.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/util/restriction_enzyme.rb,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** restriction_enzyme.rb	27 Feb 2006 13:11:28 -0000	1.3
--- restriction_enzyme.rb	28 Feb 2006 21:45:56 -0000	1.4
***************
*** 214,218 ****
      # Returns a Bio::REBASE object loaded with all of the enzyme data on file.
      #
!     def self.rebase(enzymes_yaml)
        @@rebase_enzymes ||= Bio::REBASE.load_yaml(enzymes_yaml)
        @@rebase_enzymes
--- 214,219 ----
      # Returns a Bio::REBASE object loaded with all of the enzyme data on file.
      #
!     #def self.rebase(enzymes_yaml = '/home/trevor/tmp5/bioruby/lib/bio/util/restriction_enzyme/enzymes.yaml')
!     def self.rebase(enzymes_yaml = File.dirname(__FILE__) + '/restriction_enzyme/enzymes.yaml')
        @@rebase_enzymes ||= Bio::REBASE.load_yaml(enzymes_yaml)
        @@rebase_enzymes




More information about the bioruby-cvs mailing list