From 034d62e7e3c96d31c03cf00d37c3fd13adbd65a4 Mon Sep 17 00:00:00 2001 From: Lukas Mueller Date: Wed, 14 Apr 2010 18:05:53 +0000 Subject: [PATCH] fixed the link for the ITAG map. Now goes to the correct gbrowse data source, using a high tech grep. M SGN.pm git-svn-id: svn+ssh://svn.sgn.cornell.edu/cxgn/Cview/trunk@17974 b4ddb4e3-33f1-0310-aa89-e703427ae9b8 --- lib/CXGN/Cview/MapFactory/SGN.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/CXGN/Cview/MapFactory/SGN.pm b/lib/CXGN/Cview/MapFactory/SGN.pm index b5818cf..dacfa9b 100644 --- a/lib/CXGN/Cview/MapFactory/SGN.pm +++ b/lib/CXGN/Cview/MapFactory/SGN.pm @@ -201,7 +201,8 @@ sub create { } elsif ($id =~ /^itag$/i) { - my ($gbrowse_itag) = map $_->data_sources, $c->enabled_feature('gbrowse2'); + my (@sources) = map $_->data_sources(), $c->enabled_feature('gbrowse2'); + my ($gbrowse_itag) = grep $_->description()=~/ITAG_devel.+genomic/i, @sources; my @dbs; if ($gbrowse_itag) { @dbs = $gbrowse_itag->databases(); -- 2.11.4.GIT