]> git.donarmstrong.com Git - biopieces.git/commitdiff
updated genbank.rb to allow empty defaults
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Mon, 9 May 2011 08:46:56 +0000 (08:46 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Mon, 9 May 2011 08:46:56 +0000 (08:46 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1379 74ccb610-7750-0410-82ae-013aeee3265d

code_ruby/Maasha/lib/genbank.rb

index beff0eda7fd1c6093c3c69b04a44418b608d2d1a..bb40d3d02ea2f4d544799c8b08725327be8da15f 100644 (file)
@@ -35,7 +35,7 @@ class Genbank < Filesys
   end
 
   # Iterator method for parsing Genbank entries.
-  def each(hash_keys, hash_feats, hash_quals)
+  def each(hash_keys = nil, hash_feats = nil, hash_quals = nil)
     while @entry = get_entry do
       keys = get_keys(hash_keys)
       seq  = get_seq