From d944e4dc1978fe894108925a4ca311bff282b3ef Mon Sep 17 00:00:00 2001 From: nwnoll Date: Tue, 30 Jul 2024 15:04:28 +0200 Subject: [PATCH] FIX: BOLD Release column for lowest taxon --- .lib/classifiers/bold_classifier.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.lib/classifiers/bold_classifier.rb b/.lib/classifiers/bold_classifier.rb index 2c536b8..0bd6748 100644 --- a/.lib/classifiers/bold_classifier.rb +++ b/.lib/classifiers/bold_classifier.rb @@ -342,7 +342,7 @@ def _get_specimen(row:) if $params[:classify][:bold_release] identifier = row[@@index_by_column_name["processid"]] - source_taxon_name = row[@@index_by_column_name["identification"]] + source_taxon_name = @@index_by_column_name["taxon_name"] ? row[@@index_by_column_name["taxon_name"]] : row[@@index_by_column_name["identification"]] sequence = @@index_by_column_name["nucraw"] ? row[@@index_by_column_name["nucraw"]] : row[@@index_by_column_name["nuc"]] return nil if sequence.nil? || sequence.blank?