Skip to content

Commit

Permalink
FIX: BOLD Release column for lowest taxon
Browse files Browse the repository at this point in the history
  • Loading branch information
nwnoll committed Jul 30, 2024
1 parent bb1683e commit d944e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .lib/classifiers/bold_classifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down

0 comments on commit d944e4d

Please # to comment.