Skip to content

Commit

Permalink
fixing notes on phenotyping spreadsheet
Browse files Browse the repository at this point in the history
  • Loading branch information
chris263 committed Jan 30, 2025
1 parent f59ba6e commit cd625dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/CXGN/Trial/Download/Plugin/ExcelBasic.pm
Original file line number Diff line number Diff line change
Expand Up @@ -386,10 +386,11 @@ sub download {
}

#print STDERR "Self include notes is ".$self->include_notes."\n";
if ( $self->include_notes()) {
if ( $self->include_notes() && $self->include_notes() ne 'false') {
push @trait_list, 'notes';
}


for (my $i = 0; $i < @trait_list; $i++) {
#if (exists($cvinfo{$trait_list[$i]})) {
#$ws->write(5, $i+6, $cvinfo{$trait_list[$i]}->display_name());
Expand Down
3 changes: 2 additions & 1 deletion lib/CXGN/Trial/Download/Plugin/ExcelBasicSimple.pm
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,11 @@ sub download {
}

#print STDERR "Self include notes is ".$self->include_notes."\n";
if ( $self->include_notes()) {
if ( $self->include_notes() && $self->include_notes() ne 'false') {
push @trait_list, 'notes';
}


for (my $i = 0; $i < @trait_list; $i++) {
#if (exists($cvinfo{$trait_list[$i]})) {
#$ws->write(5, $i+6, $cvinfo{$trait_list[$i]}->display_name());
Expand Down

0 comments on commit cd625dd

Please sign in to comment.