[BioRuby-cvs] bioruby/lib/bio/shell/plugin midi.rb,1.7,1.8

Katayama Toshiaki k at dev.open-bio.org
Sun Dec 24 08:50:39 UTC 2006


Update of /home/repository/bioruby/bioruby/lib/bio/shell/plugin
In directory dev.open-bio.org:/tmp/cvs-serv10000

Modified Files:
	midi.rb 
Log Message:
* fix in sample code


Index: midi.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/plugin/midi.rb,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** midi.rb	9 Feb 2006 20:48:53 -0000	1.7
--- midi.rb	24 Dec 2006 08:50:37 -0000	1.8
***************
*** 421,430 ****
    seq_file = ARGV.shift
    mid_file = ARGV.shift
-   style    = ARGV.shift
  
    Bio::FlatFile.auto(seq_file) do |ff|
      ff.each do |f|
!       midi(f.naseq[0..1000], mid_file, style)
      end
    end
  end
--- 421,430 ----
    seq_file = ARGV.shift
    mid_file = ARGV.shift
  
    Bio::FlatFile.auto(seq_file) do |ff|
      ff.each do |f|
!       midifile(mid_file, f.naseq[0..1000])
      end
    end
  end
+ 




More information about the bioruby-cvs mailing list