[BioRuby-cvs] bioruby/lib/bio/db/embl embl.rb,1.29.2.3,1.29.2.4

Naohisa Goto ngoto at dev.open-bio.org
Fri Mar 21 06:24:45 UTC 2008


Update of /home/repository/bioruby/bioruby/lib/bio/db/embl
In directory dev.open-bio.org:/tmp/cvs-serv31756/lib/bio/db/embl

Modified Files:
      Tag: BRANCH-biohackathon2008
	embl.rb 
Log Message:
"require 'bio/compat/features'" and "require 'bio/compat/references'" are added,
and example code in the bottom of the file is removed to avoid possible
confusion with unit tests.


Index: embl.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/db/embl/embl.rb,v
retrieving revision 1.29.2.3
retrieving revision 1.29.2.4
diff -C2 -d -r1.29.2.3 -r1.29.2.4
*** embl.rb	4 Mar 2008 10:56:42 -0000	1.29.2.3
--- embl.rb	21 Mar 2008 06:24:42 -0000	1.29.2.4
***************
*** 34,37 ****
--- 34,39 ----
  require 'bio/db'
  require 'bio/db/embl/common'
+ require 'bio/compat/features'
+ require 'bio/compat/references'
  
  module Bio
***************
*** 432,448 ****
  end # module Bio
  
- if __FILE__ == $0
-   require '../../../bio'
-   require 'yaml'
-   
-   prefix = 'FT   '
-   indent = prefix + ' ' * 16
-   fwidth = 80 - indent.length
- 
- #  parser = Bio::FlatFile.auto('/home/aertsj/LocalDocuments/bioruby_biohackathon/bioruby/test/data/embl/AB090716.embl')
-   parser = Bio::FlatFile.auto('/home/aertsj/LocalDocuments/hackathon/aj224122.embl')
-   parser.each do |entry|
- #    entry.ref
-     puts entry.to_biosequence.output(:embl)
-   end
- end
--- 434,435 ----




More information about the bioruby-cvs mailing list