Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FindExampleDataFile in python wrapper does not work #500

Closed
dellaert opened this issue Aug 30, 2020 · 2 comments · Fixed by #501
Closed

FindExampleDataFile in python wrapper does not work #500

dellaert opened this issue Aug 30, 2020 · 2 comments · Fixed by #501
Assignees
Milestone

Comments

@dellaert
Copy link
Member

Description

Seems like the path used in gtsam::findExampleDataFile is the one from the python wheel build.

ValueError: gtsam::findExampleDataFile could not find a matching file in
/Users/runner/work/gtsam-manylinux-build/gtsam-manylinux-build/gtsam/examples/Data

Steps to reproduce

import gtsam
_ = gtsam.findExampleDataFile("toyExample.g2o")

Expected behavior

Should look in directory where python wheel was installed

Environment

MacOS, python 3.8

Additional information

Could be hard to solve

@dellaert dellaert added this to the GTSAM 4.1 milestone Aug 30, 2020
@varunagrawal
Copy link
Collaborator

I'll take care of this. It's some simple setup.py foo.

@ProfFan
Copy link
Collaborator

ProfFan commented Aug 31, 2020

Should probably be replaced by a Python version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants