[BioRuby-cvs] bioruby/lib/bio/shell/plugin flatfile.rb, 1.6,
1.7 midi.rb, 1.3, 1.4 seq.rb, 1.11, 1.12
Katayama Toshiaki
k at pub.open-bio.org
Fri Nov 25 11:47:12 EST 2005
Update of /home/repository/bioruby/bioruby/lib/bio/shell/plugin
In directory pub.open-bio.org:/tmp/cvs-serv24818/lib/bio/shell/plugin
Modified Files:
flatfile.rb midi.rb seq.rb
Log Message:
* raise are changed to warn (not to hang bioruby shell as much as possible)
Index: midi.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/plugin/midi.rb,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** midi.rb 5 Nov 2005 08:38:13 -0000 1.3
--- midi.rb 25 Nov 2005 16:47:10 -0000 1.4
***************
*** 421,425 ****
puts "done"
rescue
! raise "Failed to save (#{filename}) : #{$!}"
end
end
--- 421,425 ----
puts "done"
rescue
! warn "Error: Failed to save (#{filename}) : #{$!}"
end
end
Index: flatfile.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/plugin/flatfile.rb,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** flatfile.rb 16 Nov 2005 04:01:10 -0000 1.6
--- flatfile.rb 25 Nov 2005 16:47:10 -0000 1.7
***************
*** 97,101 ****
puts "done"
rescue
! raise "Failed to create index (#{idxdir}) : #{$!}"
end
end
--- 97,101 ----
puts "done"
rescue
! warn "Error: Failed to create index (#{idxdir}) : #{$!}"
end
end
Index: seq.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/plugin/seq.rb,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** seq.rb 25 Nov 2005 16:05:41 -0000 1.11
--- seq.rb 25 Nov 2005 16:47:10 -0000 1.12
***************
*** 223,227 ****
# size : allowed length of the actual text
unless (size = fill_column - indent) > 0
! raise "[Error] indent > fill_column"
end
--- 223,229 ----
# size : allowed length of the actual text
unless (size = fill_column - indent) > 0
! warn "Error: indent > fill_column (indent is set to 0)"
! size = fill_column
! indent = 0
end
***************
*** 238,242 ****
# size : allowed length of the actual text
unless (size = fill_column - indent) > 0
! raise "[Error] indent > fill_column"
end
--- 240,246 ----
# size : allowed length of the actual text
unless (size = fill_column - indent) > 0
! warn "Error: indent > fill_column (indent is set to 0)"
! size = fill_column
! indent = 0
end
More information about the bioruby-cvs
mailing list