Fixed issue #126: Parsing DT lines from embl files142/head
commit54fa6d5cbb4463b766103ac55e1e1ee9ff3b9d8d
authorhdevillers <hugo.devillers@gmail.com>
Tue, 23 Feb 2016 11:08:47 +0000 (23 12:08 +0100)
committerhdevillers <hugo.devillers@gmail.com>
Tue, 23 Feb 2016 11:08:47 +0000 (23 12:08 +0100)
tree19dd554bdbe750649b3a6463c84b66205f3c3ae1
parente6ee3c7522ae0e1168ec0cad0ca0b9339e0b5688
Fixed issue #126: Parsing DT lines from embl files

From the issue #126: in embl.pm, lines 305 and 311, the two regex that parse the DT lines are always false do to the use of the modifier x without escaping white-space in regex. Thus 'creation_release', 'update_release' and 'update_version' are always missing. I proposed to remove the x modifiers.

This fix revealed an other issue while writing Bio::Seq into an embl file. The call of the thee above values is wrong and the output display the ref type of the variables instead of the values. To fix it, I simply add a call to the method ->value(), to get the value.
Bio/SeqIO/embl.pm