Files
SimurgArray/scripts/brand/simurg_mark.py
T
kemal c71f1b6333 Apply the brand across the repo: reports, README, guide
* simurg/core/brand.py: single source of the mark geometry, colours, favicon
  and the report header band (scripts/brand now load it from there).
* HTML reports (QC report, compare dashboard, methylation QC): offline SVG
  favicon, indigo header band with the mark, version and a sha256 of the data
  shown; Noto Sans font stack; methylation plots in Okabe-Ito colours.
* README banner, guide logo, brand/blog links; branding brief updated to the
  final identity; Noto (OFL) and Okabe-Ito entries in THIRD_PARTY_NOTICES;
  CHANGELOG (Unreleased).

Unit tests + P5 QC oracle: 285 passed; ruff and mypy clean.
2026-09-30 08:01:30 +01:00

25 lines
794 B
Python

"""The mark geometry for the image scripts; the single source is ``src/simurg/core/brand.py``.
Loaded straight from the file, so these scripts run with any Python that has Pillow, without installing SimurgArray.
"""
from __future__ import annotations
import importlib.util
from pathlib import Path
_path = Path(__file__).resolve().parents[2] / "src" / "simurg" / "core" / "brand.py"
_spec = importlib.util.spec_from_file_location("simurg_brand", _path)
assert _spec is not None and _spec.loader is not None
_brand = importlib.util.module_from_spec(_spec)
_spec.loader.exec_module(_brand)
COLOURS = _brand.COLOURS
MICRO = _brand.MICRO
SIMPLE = _brand.SIMPLE
Grid = _brand.Grid
art = _brand.art
detailed = _brand.detailed
__all__ = ["COLOURS", "MICRO", "SIMPLE", "Grid", "art", "detailed"]