Skip to content

Commit

Permalink
setup paths fix
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Jan 8, 2025
1 parent 07a8063 commit ec7d012
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_on_data/setup_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@


# Load the configuration for the data tests

project_root_path = Path(__file__).parent.parent.parent

if os.getenv("CI"):
LOCAL_PATH = Path(".") # Must be set to "." for CI
print("Running GIN tests on Github CI!")
else:
# Override LOCAL_PATH in the `gin_test_config.json` file to a point on your system that contains the dataset folder
# Use DANDIHub at hub.dandiarchive.org for open, free use of data found in the /shared/catalystneuro/ directory
project_root_path = Path(__file__).parent.parent.parent
test_config_path = project_root_path / "tests" / "test_on_data" / "gin_test_config.json"
config_file_exists = test_config_path.exists()
if not config_file_exists:
Expand Down

0 comments on commit ec7d012

Please sign in to comment.