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

plot_gen.py not working when in wrong directory #5

Open
skysley opened this issue Feb 28, 2024 · 1 comment · May be fixed by #6
Open

plot_gen.py not working when in wrong directory #5

skysley opened this issue Feb 28, 2024 · 1 comment · May be fixed by #6

Comments

@skysley
Copy link

skysley commented Feb 28, 2024

The script plot_gen.py does not work if it is not run from inside the folder where it is located. Adding the following line after the imports resolves this:

file_dir = os.path.realpath(os.path.dirname(__file__))
os.chdir(file_dir)
@DaveLaur
Copy link

DaveLaur commented May 7, 2024

I have just taken a clean copy, and not found this issue. The issue that triggered it not to run for me is that it is ./plot_gen.py is commented out in src/Makefile!

@DaveLaur DaveLaur linked a pull request May 7, 2024 that will close this issue
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.

2 participants