Merge pull request #4272 from solgenomics/topic/fix-vcf-download
[sgn.git] / mason / qtl / population / summary.mas
blob22f94797532e035cdb7af3fb1521fe07929043bd
1 <%doc>
3 =head1 NAME 
4 qtl/population/stat_form.mas - a mason component for displaying qtl population symmary data.
6 =AUTHOR
7 Isaak Y Tecle (iyt2@cornell.edu)
9 =cut
11 </%doc>
13 <%args>
15 $pop
16 $owner_page
18 </%args>
21 <table>
22   <tr>
23     <td>
24       <& /page/columnar_table.mas,
25          data         => [['Name', $pop->get_name],
26                           ['Description', $pop->get_description],
27                           ['Owner', $owner_page],
28                          ],
29          __alt_freq   => 0,
30          __align      => "l",
31          __tableattrs => 'style="padding: 1px 225px 1px 1px"',   
32         &>
33     </td>    
34     <td>
35       <& /page/columnar_table.mas,        
36          data       => [['No. of lines', scalar $pop->get_individuals],
37                         ['No. of traits', scalar $pop->get_cvterms],
38                        ],
39         __alt_freq  => 1,
40         __align     => "l",
41        __tableattrs => 'style="padding: 1px"',    
42         &>
43     </td>
44   </tr>
45 </table>
46