From eb23fa0ce3f92a6c0f73a366a7cd2421ce225d47 Mon Sep 17 00:00:00 2001 From: Daniel Buchan Date: Mon, 10 Dec 2018 15:58:55 +0000 Subject: [PATCH] added detection for web stuff --- featurama/features.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/featurama/features.pl b/featurama/features.pl index 91cf569..cc730a9 100755 --- a/featurama/features.pl +++ b/featurama/features.pl @@ -45,7 +45,7 @@ ## $fasta =~ /(.{8}-.{4}-.{4}-.{4}-.{12})\.fsa/; ## $md5 = $1; if($fasta =~ /(.{8}-.{4}-.{4}-.{4}-.{12})\.fsa/){$md5 = $1;} - elsif($fasta =~ /^(.{8}-.{4}-.{4}-.{4}-.{12})\.sing/){$md5 = $1;} + elsif($fasta =~ /(.{8}-.{4}-.{4}-.{4}-.{12})\.sing/){$md5 = $1;} } my $id = $md5; # Weird choice inherited from legacy code.