Skip to content
Snippets Groups Projects
Commit 70110e27 authored by Alessandro Vullo's avatar Alessandro Vullo
Browse files

[ENSCORESW-1190]. Parse GOA Uniprot release correctly.

parent f2ca00f5
No related branches found
No related tags found
No related merge requests found
......@@ -339,8 +339,7 @@ sub run {
$release =~ s/[\n\r]+/ /gm;
$release =~
s/.*The following table describes.*?of (GOA.*?)<ul>.*/$1/;
$release =~ s/<[^>]+>//gx;
s/.*The following table describes.*?of GOA UniProt .version (\d+).*?<ul>.*/$1/;
print "GO release: '$release'\n" if($verbose);
$self->set_release( $source_id, $release );
......
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