]> git.donarmstrong.com Git - biopieces.git/blobdiff - code_ruby/lib/maasha/filesys.rb
added hacky thing to avoid warning from zlib
[biopieces.git] / code_ruby / lib / maasha / filesys.rb
index 7480293fdaf9ff02cabddccc6e0f3c72c5d2af1d..e842178853a6f79d9aab4df1239c7a5908c7a6fa 100644 (file)
@@ -71,7 +71,7 @@ class Filesys
 
   # Method to close ios.
   def close
-    @io.close
+    @io.close unless @io.is_a? Zlib::GzipReader
   end
 
   def eof?