Add python dataset directory to search options
parent
13d33e0f51
commit
a7f8ba7ac4
|
|
@ -69,6 +69,7 @@ string findExampleDataFile(const string &name) {
|
|||
// Constants below are defined by CMake, see gtsam/gtsam/CMakeLists.txt
|
||||
rootsToSearch.push_back(GTSAM_SOURCE_TREE_DATASET_DIR);
|
||||
rootsToSearch.push_back(GTSAM_INSTALLED_DATASET_DIR);
|
||||
rootsToSearch.push_back(GTSAM_PYTHON_DATASET_DIR);
|
||||
|
||||
// Search for filename as given, and with .graph and .txt extensions
|
||||
vector<string> namesToSearch;
|
||||
|
|
|
|||
Loading…
Reference in New Issue