]> git.donarmstrong.com Git - biopieces.git/blobdiff - code_ruby/lib/maasha/embl.rb
refactoring of ruby code converting sequences types to symbols
[biopieces.git] / code_ruby / lib / maasha / embl.rb
index d08dce56e97d5e02392491bd49f18d4150d234ac..29c3eb66503fc805d2fb0fa108d3939bcb002761 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(nil, seq, :dna) if seq
   end
 
   # Method to get the base keys from EMBL entry and return these