1 package CXGN
::Trial
::TrialDesignStore
::CrossingTrial
;
6 extends
'CXGN::Trial::TrialDesignStore::PhenotypingTrial';
8 sub BUILD
{ # adjust the cvterm ids for phenotyping trials
11 #print STDERR "PhenotypingTrial BUILD setting stock type id etc....\n";
12 my @source_stock_types;
13 $self->set_nd_experiment_type_id(SGN
::Model
::Cvterm
->get_cvterm_row($self->get_bcs_schema(), 'field_layout', 'experiment_type')->cvterm_id());
14 $self->set_stock_type_id($self->get_plot_cvterm_id());
15 $self->set_source_stock_types( [ $self->get_cross_cvterm_id() ] );
16 $self->set_stock_relationship_type_id($self->get_plot_of_cvterm_id());
17 $self->set_valid_properties(
21 'weight_gram_seed_per_plot',
33 'subplots_names', #For splotplot
34 'treatments', #For splitplot
35 'subplots_plant_names', #For splitplot