2019-10-26 16:42:33 +00:00
|
|
|
import os
|
|
|
|
|
|
|
|
|
|
|
|
def absolute_sample_path(relative_sample_path):
|
2022-02-11 21:46:51 +00:00
|
|
|
sample_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), "../samples"))
|
2019-10-26 16:42:33 +00:00
|
|
|
sample_file = os.path.join(sample_dir, relative_sample_path)
|
|
|
|
return sample_file
|