From e8492c12e97e2a63e70c263603f44b33b95e5a36 Mon Sep 17 00:00:00 2001 From: Seth Traverse Date: Thu, 25 Jun 2026 15:58:58 -0600 Subject: [PATCH] download: remove redundant branch and use intended value for genotyping project name --- lib/CXGN/Trial/TrialLayoutDownload/GenotypingPlateLayout.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/CXGN/Trial/TrialLayoutDownload/GenotypingPlateLayout.pm b/lib/CXGN/Trial/TrialLayoutDownload/GenotypingPlateLayout.pm index 048036f2f8..ad98bd09d1 100644 --- a/lib/CXGN/Trial/TrialLayoutDownload/GenotypingPlateLayout.pm +++ b/lib/CXGN/Trial/TrialLayoutDownload/GenotypingPlateLayout.pm @@ -102,11 +102,7 @@ sub retrieve { } elsif ($_ eq 'pedigree'){ push @$line, $pedigree_strings->{$design_info->{"accession_name"}}; } elsif ($_ eq 'genotyping_project_name'){ - my $accession = CXGN::Stock->new({schema=>$schema, stock_id=>$design_info->{"accession_id"}}); - push @$line, $accession->get_pedigree_string('Parents'); - } elsif ($_ eq 'pedigree'){ - my $accession = CXGN::Stock->new({schema=>$schema, stock_id=>$design_info->{"accession_id"}}); - push @$line, $accession->get_pedigree_string('Parents'); + push @$line, $genotyping_project_name; }else { push @$line, $design_info->{$_}; }