5 /solgs/population/traits_list.mas - displays training population traits available for GS modeling
9 Isaak Y Tecle (iyt2@cornell.edu)
19 $training_pop_traits_details
20 $genotyping_protocol_id
29 foreach my $trait_detail (@$training_pop_traits_details)
31 my $id = $trait_detail->[0];
32 my $trait = $trait_detail->[1];
33 my $acronym = $trait_detail->[2];
35 if ($data_set_type =~ /combined/) {
36 $path = "/solgs/model/combined/trials/$training_pop_id/trait/$id/gp/$genotyping_protocol_id";
38 $path = "/solgs/trait/$id/population/$training_pop_id/gp/$genotyping_protocol_id";
41 my $trait_link = qq | <a href="$path" onclick="solGS.waitPage(this.href); return false;">$trait</a> |;
45 <input type = "checkbox"
48 value = $id > $trait_link
60 <div id="traits_selection_div">
62 <table class="table-condensed" id="population_traits_list">
66 <input class = "button"
79 <div id="traits_list_message" class="message">
80 <p>There are no phenotyped traits for this population.</p>