]> git.donarmstrong.com Git - biopieces.git/blobdiff - code_ruby/lib/maasha/embl.rb
changed Seq.new argument to hash
[biopieces.git] / code_ruby / lib / maasha / embl.rb
index 66a53c066497bb8008694d7d556a05974a8d6d3b..80bafeeacbf61485c99e9e7e381853a6b9e22620 100644 (file)
@@ -87,7 +87,7 @@ class EMBL < Filesys
 
     seq = @entry[j + 1 .. i].join.delete(" 0123456789")
 
-    Seq.new(nil, seq, :dna) if seq
+    Seq.new(seq: seq, type: :dna) if seq
   end
 
   # Method to get the base keys from EMBL entry and return these