Skip to content

fix: import graspsampling before adding project root to sys.path - #16

Open
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/context-0c5e5e88
Open

fix: import graspsampling before adding project root to sys.path#16
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/context-0c5e5e88

Conversation

@andrewwhitecdw

@andrewwhitecdw andrewwhitecdw commented Jul 27, 2026

Copy link
Copy Markdown

Problem

fix: import graspsampling before adding project root to sys.path

Fix

Replace:

import graspsampling
import os
import sys

sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))

with:

import os
import sys

sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))

import graspsampling

Files changed

  • graspsampling-py-defgraspsim/tests/context.py

@andrewwhitecdw
andrewwhitecdw marked this pull request as ready for review August 3, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant