Skip to content

Commit 7c921e2

Browse files
committed
Fix pylance warning
1 parent 8108df6 commit 7c921e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ms2query/benchmarking/Embeddings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def create_from_spectra(cls, spectra: Sequence[Spectrum], model: SiameseSpectral
2727
raise ValueError("There are duplicated spectra in the spectrum list")
2828

2929
model_settings = model.model_settings.get_dict()
30-
embeddings = compute_embedding_array(model, spectra)
30+
embeddings: np.ndarray = compute_embedding_array(model, spectra) # type: ignore
3131
return cls(embeddings, index_to_spectrum_hash, model_settings)
3232

3333
@classmethod

0 commit comments

Comments
 (0)