neu_morpho.allowlist¶
Body allowlist handling.
Process only the given body IDs, or all labels when no allowlist is given.
Functions¶
|
Return a set of allowed body IDs, or |
Module Contents¶
- neu_morpho.allowlist.load_allowlist(source: str | Iterable[int] | None) set[int] | None¶
Return a set of allowed body IDs, or
Nonemeaning “all labels”.sourcemay be a path to a text/CSV file (one integer id per line, or a singleidcolumn), an iterable of ids, orNone.