Skip to content

Commit

Permalink
res.identification_rank needs to be set from the scoped config. Theor…
Browse files Browse the repository at this point in the history
…etically we could now validate different records at different precision levels.
  • Loading branch information
rvosa committed Nov 25, 2024
1 parent 2178cbd commit 3be601f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions barcode_validator/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def validate_fasta(self, fasta_file_path: str, config: Config) -> List[DNAAnalys
for record, json_config in sh.parse_fasta(fasta_file_path):
scoped_config = config.local_clone(json_config)
result = DNAAnalysisResult(record.id, fasta_file_path)
result.level = scoped_config.get('level')
self.validate_record(record, scoped_config, result)
results.append(result)
return results
Expand Down

0 comments on commit 3be601f

Please sign in to comment.