upload fieldbook from manage phenotyping
[sgn.git] / cgi-bin / phenome / locus_display.pl
blobecf00ef55d1cb4eae84e87f24b01309cddbfbcc0
1 use strict;
2 use warnings;
4 use CXGN::People::Person;
6 use CGI qw/ param /;
8 use CXGN::DB::Connection;
9 use CXGN::Phenome::Locus;
11 use CatalystX::GlobalContext qw( $c );
13 my $cgi = CGI->new();
15 my $locus_id = $cgi->param("locus_id") + 0;
17 unless ($locus_id =~m /^\d+$/) {
18 $c->throw( is_error=>0,
19 message => "Invalid locus identifier $locus_id",
22 print $cgi->redirect("/locus/$locus_id/view", 301);
25 #############