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

Call jags with full paths to files to avoid changing working directory #39

Merged
merged 5 commits into from
Dec 30, 2023

Conversation

hellemo
Copy link
Member

@hellemo hellemo commented Jul 22, 2023

I worked on this earlier this year, then forgot about it.

Jags.jl was changing pwd and in some cases did not change back to the original. I first fixed this issue, but then figured it would be better to call jags with full paths instead. What do you think?

@itsdfish
Copy link
Collaborator

@hellemo, thanks for maintaining this package. I looked through the PR and it looks good as far as I can tell. I tried to run the code locally, but I could not find where Jags is installed on my system. I have no idea how I set it up in the past. If you have an idea where the default installation location is on Linux, or how to point it to the version used by rjags, I can take a deeper look.

@hellemo
Copy link
Member Author

hellemo commented Dec 21, 2023

Thanks, not sure about rjags, I installed jags using the package manager with openSUSE-Tumbleweed and it is located in /usr/bin. I guess /opt or /usr/local would be reasonable as well.

@itsdfish
Copy link
Collaborator

No such luck. It was installed somewhere in the abyss evidently.

I think the changes look good and the tests look good. I say thumbs up.

@hellemo hellemo merged commit 1c47e1e into JagsJulia:master Dec 30, 2023
@hellemo hellemo deleted the lh/stay-in-pwd branch December 30, 2023 10:06
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 this pull request may close these issues.

2 participants