1 use CatalystX
::GlobalContext
qw( $c );
6 use CXGN::DB::Connection;
8 print STDERR "Create page object...\n";
9 my $page = CXGN::Page->new("", "");
12 print STDERR "Creating DB connection...\n";
13 my $dbh = CXGN::DB::Connection->new();
15 print STDERR "Retrieving page arguments...\n";
16 my ($center_map, $center_map_version_id, $show_physical, $show_ruler, $show_IL, $left_map, $left_map_version_id, $right_map, $right_map_version_id, $color_model)
17 = $page->get_encoded_arguments("center_map", "center_map_version_id", "show_physical", "show_ruler", "show_IL", "left_map", "left_map_version_id", "right_map", "right_map_version_id", "color_model");
19 print STDERR "Marker 2\n";
21 print STDERR "forwarding to mason view...\n";
22 $c->forward_to_mason_view('/cview/map/comparison.mas',
24 center_map=>$center_map,
25 center_map_version_id=>$center_map_version_id,
26 show_physical=>$show_physical,
27 show_ruler=>$show_ruler,
30 left_map_version_id=>$left_map_version_id,
31 right_map=>$right_map,
32 right_map_version_id=>$right_map_version_id,
33 color_model=>$color_model,
36 print STDERR "This statement is never executed.\n";