treeflow.cli.inference_common module

treeflow.cli.inference_common.parse_init_value(init_value_string: str) float | List[float]
exception treeflow.cli.inference_common.InitialValueParseError

Bases: ValueError

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

treeflow.cli.inference_common.parse_init_values(init_values_string: str, model_names: Iterable[str] | None = None) Dict[str, Tensor]
treeflow.cli.inference_common.get_tree_vars(model: PhyloModel) Set[str]
treeflow.cli.inference_common.write_trees(tree_var_samples: Dict[str, Tensor], topology_file, output_file) None