fix run_model call so that it works with non-default options as well.
[sgn.git] / mason / tools / genefamily / details.mas
blob3ae2e2a1602d6ac3638124ef9707eb75f7fc2c76
2 <%args>
3 $genefamily_id
4 $members => undef
5 $member_count => undef
6 $annot_data => undef
7 $errors => undef
8 $tree_data => undef
9 $tree_link_disabled => undef
10 $fasta_data => undef
11 $seq_data => undef
12 $align_link_disabled => undef
14 </%args>
17 <h1>Family detail for family <% $genefamily_id %></h1>
18 <table><tr><td>Family: <b><% $genefamily_id %></b></td><td><% $annot_data %></td></tr>
19   <tr><td colspan="2">Note: <% $errors %></td></tr>
20 </table>
22 <h2>Gene family members</h2>
23 Member count: <% $member_count %><br />
24 <div id="family_members">
25   <% $members %>
26 </div>  
28 <table><tr>
29     <hr>
30     <td>View</td>
31     <td>
32       <form name="alignment_viewer_form" method="POST" action="/tools/align_viewer/index.pl">
33         <input type="hidden" name="seq_data" value="<% $seq_data %>" />
34         <input type="submit" value="Alignment" <% $align_link_disabled %> />
35         <input type="hidden" name="format" value="fasta" />
36       </form>
37     </td>
39     <td>
40       <form name="tree_browser_form" method="post" action="/tools/tree_browser/index.pl">
41         <input type="hidden" name="" value="<% $tree_data %>" />
42         <input type="submit" value="Tree" <% $tree_link_disabled %> />
43       </form>
44     </td>
48     </tr>
49 </table>
50 <hr>
51 <table><tr><td>
52 Sequences in fasta:</td><td>
53 <form name="tree_browser_unaligned" method="post" action="/tools/align_viewer/index.pl">
54   <input type="hidden" name="seq_data" value="<% $fasta_data %>" />
55   <input type="hidden" name="format" value="fasta_unaligned" />
56   <input type="submit" value="Align" />
57 </form>
59 <td></tr>
60 <td colspan="2">
61       <pre><% $fasta_data %></pre>
62 </td></tr></table>