12 lines
377 B
Python
12 lines
377 B
Python
"""Utility functions for testing pyALE."""
|
|
|
|
import os.path as op
|
|
|
|
|
|
def get_test_data_path():
|
|
"""Return the path to test datasets, terminated with separator.
|
|
|
|
Test-related data are kept in tests folder in "data".
|
|
Based on function by Yaroslav Halchenko used in Neurosynth Python package.
|
|
"""
|
|
return op.abspath(op.join(op.dirname(__file__), "data") + op.sep)
|