Skip to content

Commit 7755a97

Browse files
committed
fix
1 parent 5b37463 commit 7755a97

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

kubernetes/loculus/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2121,6 +2121,7 @@ defaultOrganisms:
21212121
taxon_id: 3052518
21222122
scientific_name: "Orthonairovirus haemorrhagiae"
21232123
molecule_type: "genomic RNA"
2124+
alignment_requirement: ANY
21242125
log_level: DEBUG
21252126
nextclade_dataset_server: "https://raw.githubusercontent.com/genspectrum/nextclade-datasets/cchf-multi/data"
21262127
segments:

preprocessing/nextclade/src/loculus_preprocessing/prepro.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,13 @@ def add_assigned_reference(
201201
unprocessed: UnprocessedAfterNextclade,
202202
config: Config,
203203
) -> InputData:
204-
if not unprocessed.nextcladeMetadata:
204+
if not unprocessed.unalignedNucleotideSequences:
205205
return InputData(datum=None)
206206
segment = spec.args.get("segment", "main") if spec.args else "main"
207207
if not isinstance(segment, str):
208208
msg = f"add_assigned_reference: segment must be str, got {type(segment)}"
209209
raise TypeError(msg)
210-
name = get_dataset_name(segment, unprocessed.nextcladeMetadata, config)
210+
name = get_dataset_name(segment, unprocessed.unalignedNucleotideSequences, config)
211211
if not name:
212212
return InputData(datum=None)
213213
reference = config.get_dataset_by_name(name).reference_name

0 commit comments

Comments
 (0)