Skip to content

Commit

Permalink
Fix readthedocs build error
Browse files Browse the repository at this point in the history
  • Loading branch information
bsweger committed Nov 12, 2024
1 parent 7c2aa5e commit c9c09d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@
("py:class", "polars.dataframe.frame.DataFrame"),
("py:class", "polars.DataFrame"),
("py:class", "polars.lazyframe.frame.LazyFrame"),
("py:class", "cladetime._clade.Clade"),
("py:class", "Clade"),
]


Expand Down
2 changes: 1 addition & 1 deletion src/cladetime/cladetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def _get_config(self) -> Config:

return config

def assign_clades(self, sequence_metadata: pl.LazyFrame, output_file: str | None = None) -> pl.DataFrame:
def assign_clades(self, sequence_metadata: pl.LazyFrame, output_file: str | None = None) -> Clade:
"""Assign clades to a specified set of sequences.
For each sequence in a sequence file (.fasta), assign a Nextstrain
Expand Down
2 changes: 1 addition & 1 deletion src/cladetime/sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def get_metadata_ids(sequence_metadata: pl.DataFrame | pl.LazyFrame) -> set:
-------
set
A set of
:external+ncov:doc:`strains<reference/metadata-fields:column-1-strain>`
:external+ncov:doc:`strains<reference/metadata-fields>`
Raises
------
Expand Down

0 comments on commit c9c09d1

Please sign in to comment.