Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 12, 2024
1 parent fea8975 commit 002a536
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions omnigibson/macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ def determine_gm_path(default_path, env_var_name):
# can override assets_path and dataset_path from environment variable
gm.ASSET_PATH = determine_gm_path(os.path.join("data", "assets"), "OMNIGIBSON_ASSET_PATH")
gm.DATASET_PATH = determine_gm_path(os.path.join("data", "og_dataset"), "OMNIGIBSON_DATASET_PATH")
gm.CUSTOM_DATASET_PATH = determine_gm_path(
os.path.join("data", "custom_dataset"), "OMNIGIBSON_CUSTOM_DATASET_PATH"
)
gm.CUSTOM_DATASET_PATH = determine_gm_path(os.path.join("data", "custom_dataset"), "OMNIGIBSON_CUSTOM_DATASET_PATH")
gm.KEY_PATH = determine_gm_path(os.path.join("data", "omnigibson.key"), "OMNIGIBSON_KEY_PATH")

# Which GPU to use -- None will result in omni automatically using an appropriate GPU. Otherwise, set with either
Expand Down

0 comments on commit 002a536

Please sign in to comment.