-
Notifications
You must be signed in to change notification settings - Fork 38
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
Remove dependence on acor #50
Comments
I think this is a good idea. The only use of Change the default value of I would be inclined to remove the warning message when |
There used to be an entire copy of the (thinned?) chain that was stored for use in |
There is an alternative that I think is worth mentioning: David Wright (a NANOGrav member) has modified |
Yes there is a copy of the entire thinned chain. It is used for writing out the results, but I don't know if it is used for anything else. If not, we could completely remove the |
IMO our main priority here is to provide support so that PTMCMCSampler keeps working for our projects. Replacing acor with a version that works has my preference. I see that @davecwright3 created a package called encor on Pypi, so this might be an easy change. Given that they are imported identically, we will need to do proper version checks. None of that is hard to do, though. Good idea @AaronDJohnson Major modifications could just go in a PR, like always, but like @kdolum says it probably isn't a priority for any of us here. |
There's a package on conda-forge as well. I opened a PR on acor first, but there wasn't a response in time for the 15yr analyses so I forked the project. Both ceffyl and PTArcade have been using this forked version. The only changes made going from acor -> encor were in the packaging/build-system see diff |
@davecwright3, it's great that you made a new package with a different name from acor, because there are incompatible acor versions and causes a problem. But also there is a bug which leads to the error message |
Fixed by #51 as I outlined above. Whether you use the original acor or the new encor is not a property of PTMCMCSampler, but rather what package you have loaded, because encor installs as "acor". Thus when PTMCMCSampler says "import acor", it gets whichever you have. Neither is a dependency of PTMCMCSampler , and that's as it should be, since the most common use case doesn't use neff and so doesn't need any acor. |
Acor has been giving people problems. If not installed (it's optional), things are fine, but with acor installed some users have reported errors.
Perhaps we can replace it or remove it for the next release.
The text was updated successfully, but these errors were encountered: