Skip to content

Commit

Permalink
Merge branch 'naturalis:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
rvosa authored Aug 27, 2024
2 parents f944133 + a942a26 commit dc8af48
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions barcode_validator/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,11 +376,13 @@ def get_values(self) -> list:
String representation of the result object.
:return: A list of values representing the result object
"""
exp_taxon_name = self.exp_taxon.name if self.exp_taxon else None
species_name = self.species.name if self.species else None
return [
self.process_id,
self.exp_taxon.name,
self.species.name,
self.exp_taxon.name if self.check_taxonomy() else None,
exp_taxon_name,
species_name,
exp_taxon_name if self.check_taxonomy() else None,
self.level,
'BLAST',
self.seq_length,
Expand Down

0 comments on commit dc8af48

Please sign in to comment.