7 Find the example data file specified by `name`.
13 site_package_path = gtsam.__path__[0]
15 data_path = osp.join(site_package_path,
"Data",
"*")
17 extensions = (
"",
".graph",
".txt",
".out",
".xml",
".g2o")
19 for data_file_path
in glob.glob(data_path, recursive=
True):
20 for ext
in extensions:
21 if (name + ext) == osp.basename(data_file_path):