Merge pull request #5230 from solgenomics/topic/open_pollinated
[sgn.git] / mason / tools / expression / expression_atlas.mas
blob59fd07c463c77545cb2fc4419b8dfe01fd3ce901
2 <%doc>
4 =head1 NAME
6 /expression/expression_atlas.mas - a mason component to display the expression atlas exporter page
8 =head1 AUTHOR
10 Nicolas Morales
12 =cut
14 </%doc>
16 <%args>
17 $has_expression_atlas => undef
18 $expression_atlas_url
19 $site_project_name
20 $sgn_session_id
21 $user_name
22 $main_production_site_url
23 </%args>
25 <& /util/import_javascript.mas, classes => [] &>
28 <& /page/page_title.mas, title=>"Export Data to Expression Atlas" &>
30 % if ($has_expression_atlas) {
31     <& /breeders_toolbox/trial/export_trial_to_expression_atlas.mas, expression_atlas_url=>$expression_atlas_url, site_project_name=>$site_project_name, sgn_session_id=>$sgn_session_id, user_name=>$user_name, main_production_site_url=>$main_production_site_url &>
32 % } else {
33         <h3>Expression Atlas not configured for this site! (Check the conf file)</h3>
34 % }