File size: 603 Bytes
6d5047c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

from pathlib import Path

PACKAGE_ROOT = Path(__file__).resolve().parent
ASSETS_ROOT = PACKAGE_ROOT / "assets"
DEMO_ASSETS_ROOT = ASSETS_ROOT / "demo"
DEMO_EXAMPLES_ROOT = DEMO_ASSETS_ROOT / "examples"
SKELETONS_ROOT = ASSETS_ROOT / "skeletons"
SOMA_ASSETS_ROOT = ASSETS_ROOT / "SOMA"


def skeleton_asset_path(*parts: str) -> Path:
    return SKELETONS_ROOT.joinpath(*parts)


def demo_asset_path(*parts: str) -> Path:
    return DEMO_ASSETS_ROOT.joinpath(*parts)