4 use CXGN
::People
::Person
;
8 use CXGN
::DB
::Connection
;
9 use CXGN
::Phenome
::Locus
;
11 use CatalystX
::GlobalContext
qw( $c );
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);