[BioRuby-cvs] bioruby/test/functional/bio/io test_ensembl.rb, 1.1, 1.2

Mitsuteru C. Nakao nakao at dev.open-bio.org
Thu Mar 29 05:50:45 UTC 2007


Update of /home/repository/bioruby/bioruby/test/functional/bio/io
In directory dev.open-bio.org:/tmp/cvs-serv9824/test/functional/bio/io

Modified Files:
	test_ensembl.rb 
Log Message:
* Fixed bugs in exportview argument parsing.


Index: test_ensembl.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/functional/bio/io/test_ensembl.rb,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test_ensembl.rb	29 Mar 2007 05:24:59 -0000	1.1
--- test_ensembl.rb	29 Mar 2007 05:50:43 -0000	1.2
***************
*** 71,74 ****
--- 71,84 ----
     end 
  
+    def test_tab_exportview_with_named_args
+      line = "seqname\tsource\tfeature\tstart\tend\tscore\tstrand\tframe\tgene_id\ttranscript_id\texon_id\tgene_type\nchromosome:NCBI36:4:1149206:1149209:1\tEnsembl\tGene\t-839\t2747\t.\t+\t.\tENSG00000206158\tENST00000382964\tENSE00001494097\tKNOWN_protein_coding\n"
+      gff = @serv.exportview(:seq_region_name => 4,
+                             :anchor1 => 1149206,
+                             :anchor2 => 1149209, 
+                             :options => ['gene'],
+                             :format => 'tab')
+      assert_equal(line, gff)
+    end 
+ 
  end
  




More information about the bioruby-cvs mailing list