verify_template_assets#
- scikitplot.cython.verify_template_assets()[source]#
Verify every referenced template support asset is actually shipped.
Walks all
*.meta.jsontemplate descriptors and confirms that each file named in theirsupport_paths(e.g..pxi/.pxdincludes) exists on disk next to the template. This is the in-package guard for CYTHON-WASM-001: a packaging recipe that excludes**/*.pxi(or any other support extension) would silently drop assets that shipped templatesinclude; this check turns that into a detectable, testable failure instead of an opaque build error in the browser/WASM runtime.- Returns:
- list of str
Human-readable descriptions of missing assets — empty when every referenced support file is present.
- Return type:
See also
scikitplot.cython.platform_capabilitiesDeclares whether runtime compilation is available on this platform.
Examples
>>> missing = verify_template_assets() >>> assert missing == [], missing