Skip to content
OpenSmartRoute
Skillv1.0.0

i4h-catheter-navigation-smoke

Run CPU-only fluorosim smoke tests (imports, preprocessing, CLI parsers). Use when asked to smoke-test catheter navigation in CI or without a GPU.

by nvidia(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from nvidia/skills (skills/i4h-catheter-navigation-smoke/SKILL.md). Install upstream with npx skills add nvidia/skills --skill i4h-catheter-navigation-smoke. Copyright stays with the author (Apache-2.0).

i4h Catheter Navigation - Smoke Tests

Purpose

Run CPU-only unit smoke tests for fluorosim components and entrypoint parsers, safe for CI without a GPU. Exercises imports, CT->mu preprocessing, parser sanity, and conditional viewport import checks.

Base Code

ROOT="${I4H_WORKFLOWS:-$(git rev-parse --show-toplevel 2>/dev/null)}"
if [ ! -d "$ROOT/workflows/catheter_navigation" ]; then
  ROOT="${I4H_WORKFLOWS:-$HOME/i4h-workflows}"
  [ -d "$ROOT/workflows/catheter_navigation" ] || git clone https://github.com/isaac-for-healthcare/i4h-workflows "$ROOT"
fi
export I4H_WORKFLOWS="$ROOT"; cd "$ROOT"

Run

Step 1 - run tests

REPO_ROOT="${I4H_WORKFLOWS:-$(git rev-parse --show-toplevel 2>/dev/null)}"; [ -d "$REPO_ROOT/workflows/catheter_navigation" ] || REPO_ROOT="$HOME/i4h-workflows"
WF_ROOT="${REPO_ROOT}/workflows/catheter_navigation"
RUN_DIR="${WF_ROOT}/runs/smoke_$(date +%Y%m%d_%H%M%S)"
mkdir -p "${RUN_DIR}/logs"
ln -sfn "${RUN_DIR}" "${WF_ROOT}/runs/.latest"

python3 -m unittest workflows/catheter_navigation/tests/test_fluorosim_smoke.py \
  2>&1 | tee "${RUN_DIR}/logs/smoke.log"

Expected Output

Ran N tests in ...s
OK

Parser error lines on stderr from negative CLI tests are expected - not failures.

Verify

grep -E "Ran [0-9]+ tests" "${RUN_DIR}/logs/smoke.log"
grep "OK" "${RUN_DIR}/logs/smoke.log"

Prerequisites

  • Python 3 with workflow dependencies installed (for example via workflows/catheter_navigation/requirements.txt).
  • No GPU required.

Limitations

  • Does not exercise GPU Slang rendering or the interactive viewport.
  • For GPU validation, use [[i4h-catheter-navigation-render-drr]].

Troubleshooting

  • Error: import failures - Fix: run [[i4h-catheter-navigation-setup]] and ensure the active venv has catheter workflow dependencies installed.
  • Error: unexpected test count - Fix: inspect log; this can change when smoke coverage is added/removed on a branch.

Final Response

Report pass/fail, test count, and log path. If passed, note GPU stages still need separate verification.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/nvidia-skills-i4h-catheter-navigation-smoke/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

nvidia-skills-i4h-catheter-navigation-smoke.ocm.jsonjson
{
  "ocm": "1",
  "id": "nvidia-skills-i4h-catheter-navigation-smoke",
  "kind": "skill",
  "name": "i4h-catheter-navigation-smoke",
  "description": "Run CPU-only fluorosim smoke tests (imports, preprocessing, CLI parsers). Use when asked to smoke-test catheter navigation in CI or without a GPU.",
  "publisher": "nvidia",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "isaac-for-healthcare",
      "i4h",
      "catheter-navigation",
      "smoke-test",
      "ci",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Run CPU-only fluorosim smoke tests (imports, preprocessing, CLI parsers). Use when asked to smoke-test catheter navigation in CI or without a GPU."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/nvidia/skills",
      "path": "skills/i4h-catheter-navigation-smoke/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/nvidia/skills/blob/HEAD/skills/i4h-catheter-navigation-smoke/SKILL.md",
      "key": "nvidia/skills/skills/i4h-catheter-navigation-smoke/SKILL.md"
    },
    "license": "Apache-2.0"
  },
  "instructions": "# i4h Catheter Navigation - Smoke Tests\n\n## Purpose\n\nRun CPU-only unit smoke tests for fluorosim components and entrypoint parsers,\nsafe for CI without a GPU. Exercises imports, CT->mu preprocessing, parser\nsanity, and conditional viewport import checks.\n\n## Base Code\n\n```bash\nROOT=\"${I4H_WORKFLOWS:-$(git rev-parse --show-toplevel 2>/dev/null)}\"\nif [ ! -d \"$ROOT/workflows/catheter_navigation\" ]; then\n  ROOT=\"${I4H_WORKFLOWS:-$HOME/i4h-workflows}\"\n  [ -d \"$ROOT/workflows/catheter_navigation\" ] || git clone https://github.com/isaac-for-healthcare/i4h-workflows \"$ROOT\"\nfi\nexport I4H_WORKFLOWS=\"$R",
  "cost": {
    "context_tokens": 529
  }
}

Fetch it by URL: GET /api/v1/registry/nvidia-skills-i4h-catheter-navigation-smoke/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.