Skip to content
Snippets Groups Projects
Commit 74d35bb4 authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

A slight change in the parsing of the release info from the RefSeq

release document:  Make sure that the regular expression doesn't match
too much.
parent 6dd5f638
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,8 @@ sub run {
$release_io->close();
$release =~ s/\s{2,}/ /g;
$release =~ s/.*(NCBI Reference Sequence.*) Distribution.*/$1/s;
$release =~
s/.*(NCBI Reference Sequence.*) Distribution Release Notes.*/$1/s;
# Put a comma after the release number to make it more readable.
$release =~ s/Release (\d+)/Release $1,/;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment