Skip to content

webknossos.utils

#   def time_start(identifier: str) -> None:
#   def time_stop(identifier: str) -> None:
#   def get_executor_for_args( args: Union[argparse.Namespace, NoneType] ) -> Union[cluster_tools.schedulers.cluster_executor.ClusterExecutor, cluster_tools.WrappedProcessPoolExecutor]:
#   def named_partial( func: Callable[..., Any], *args: Any, **kwargs: Any ) -> Callable[..., Any]:
#   def wait_and_ensure_success( futures: List[concurrent.futures._base.Future], progress_desc: Union[str, NoneType] = None ) -> List[Any]:

Waits for all futures to complete and raises an exception as soon as a future resolves with an error.

#   def snake_to_camel_case(snake_case_name: str) -> str:
#   def get_chunks(arr: List[Any], chunk_size: int) -> Iterable[List[Any]]:
#   def time_since_epoch_in_ms() -> int:
#   def setup_warnings() -> None:
#   def setup_logging(args: argparse.Namespace) -> None:
#   def add_verbose_flag(parser: argparse.ArgumentParser) -> None:
#   def get_rich_progress() -> rich.progress.Progress:
#   def warn_deprecated(deprecated_item: str, alternative_item: str) -> None:
#   def is_fs_path(path: pathlib.Path) -> bool:
#   def rmtree(path: pathlib.Path) -> None:
#   def copytree(in_path: pathlib.Path, out_path: pathlib.Path) -> None:
Back to top