Skip to content

Commit

Permalink
Merge pull request #5290 from solgenomics/topic/fix_upload_pehno
Browse files Browse the repository at this point in the history
fixing notes on phenotyping spreadsheet
  • Loading branch information
lukasmueller authored Feb 6, 2025
2 parents 08ddd67 + cd625dd commit 597e8d8
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 597e8d8

Please sign in to comment.