← Về thư mục
- SafetyError · class · L40-L41 — class SafetyError(ValueError)
- bounded_int · function · L44-L60 — def bounded_int( value: str, *, minimum: int = 0, maximum: int, label: str, ) -> int
- int_type · function · L63-L74 — def int_type(*, minimum: int = 0, maximum: int, label: str)
- parse · function · L66-L72 — def parse(value: str) -> int
- _reject_unsafe_text_path · function · L77-L86 — def _reject_unsafe_text_path(raw: str) -> None
- _reject_symlink_components · function · L89-L98 — def _reject_symlink_components(path: Path) -> None
- local_path · function · L101-L137 — def local_path( raw: str, *, must_exist: bool = True, kind: str = "any", ) -> Path
- _open_binary_nofollow · function · L140-L149 — def _open_binary_nofollow(path: Path)
- iter_text_lines · function · L152-L196 — def iter_text_lines( path: Path, *, max_bytes: int, max_records: int, max_line_bytes: int = HARD_MAX_LINE_BYTES, ) -> Iterator[tuple[int, str]]
- sha256_file · function · L199-L214 — def sha256_file(path: Path, *, max_bytes: int) -> tuple[str, int]
- load_json · function · L217-L246 — def load_json(path: Path, *, max_bytes: int) -> Any
- object_pairs · function · L228-L234 — def object_pairs(pairs)
- invalid_constant · function · L236-L237 — def invalid_constant(value: str)
- load_chrom_sizes · function · L249-L286 — def load_chrom_sizes( path: Path, *, max_bytes: int, max_records: int, ) -> tuple[dict[str, int], list[str]]
- inspect_bed · function · L289-L422 — def inspect_bed( path: Path, *, max_bytes: int, max_records: int, chrom_sizes: dict[str, int] | None = None, chrom_order: list[str] | None = None, max_examples: int = 10, ) -> dict[str, Any]
- issue · function · L320-L324 — def issue(kind: str, code: str, line_number: int) -> None
- add_path_mode_argument · function · L425-L431 — def add_path_mode_argument(parser: argparse.ArgumentParser) -> None
- display_path · function · L434-L442 — def display_path(path: Path, index: int, mode: str) -> str
- print_json · function · L445-L448 — def print_json(payload: dict[str, Any]) -> None
- fail_json · function · L451-L461 — def fail_json(tool: str, exc: Exception) -> int