Freeze and thaw seqs in our cache and add more tests
[sgn.git] / mason / homepage / locus_of_the_week.mas
blobb0e46560b0660671baa90465db0247235f31e6ea
2 <%perl>
4 use strict;
5 use File::Spec;
6 use CXGN::Tools::File;
8 my $loci = qq { The locus of the week is currently unavailable. <br /><br /> };
10 eval { 
11   $loci = CXGN::Tools::File::get_sections(File::Spec->catfile($c->get_conf("homepage_files_dir"), "loci.txt"));
14 </%perl>
16 <div class="boxbgcolor1" style="margin:0px; ">
17 <div class="boxheading">Locus of the week</div>
18 <div class="boxcontent"><% $loci %>
19 <a href="oldloci.pl">See previous 'loci of the week'...</a><br /><br />
20 <a href="/search/direct_search.pl?search=loci">Search other loci...</a>
21 </div>
22 </div>