]> git.donarmstrong.com Git - biopieces.git/commitdiff
fixed attributes
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Fri, 3 Feb 2012 07:38:30 +0000 (07:38 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Fri, 3 Feb 2012 07:38:30 +0000 (07:38 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1742 74ccb610-7750-0410-82ae-013aeee3265d

code_ruby/lib/maasha/fastq.rb

index 77a4706efa01a9a03ce7181ae6a7d0d4e738ead9..ac97be0cd17a05f9e1a2230ecba4bc6f8b5057e9 100644 (file)
@@ -64,7 +64,7 @@ class FastqIndex
 
   # Method to initialize a FastqIndex object. For reading
   # entries from file an _ios_ object must be supplied.
-  def initialize(ios)
+  def initialize(ios = nil)
     @ios    = ios
     @index  = {}
     @offset = 0