Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* neighbor spelling (assuming we're sticking to American spelling!) * updated run_poypolychord to use **kwargs rather than PolyChordSettings * return anesthetic.NestedSamples output if installed * added kwargs to run_pypolychord() docstring * changed examples to use **kwargs * accidental rename of run_polychord() * set kwarg defaults separately to run_pypolychord so that they can be given to resume file * run_polychord creates the paramnames file * changed other examples paramnames are passed to run_pypolychord * mention anesthetic output in docstring (incomplete) * tidied up grade_dims and nlives argument processing * logx should be logc * missing comma * removed settings argument * Restored old interface * run_polychord -> run * reverted Python_Functions/ (apart from logx->logc correction * put PolyChordSettings back in __init__.py * run() uses make_resume_file_kwargs_interface * added run to __init__.py * update nDerived, prior and dumper to kwargs * nDims is not a kwarg * add nDerived, prior and dumper to kwargs * use default_kwargs to set the defaults, then use this to see if kwargs has any excess keys * separate default_kwargs that refer to other default_kwargs * wrong brackets - think it's time to leave this for a moment * removed accidental commas * pass kwargs directly rather than creating dict * added anesthetic to install_requires * anesthetic now assumed to be installed, so new interface always returns an anesthetic output * tidy up plotting to just use anesthetic output * simplified to _make_resume_file(), plus wrapper _legacy_make_resume_file which translates from a settings object * added run_pypolychord_legacy_interface.py * update run() docstring to anesthetic output * removed unused sqrt from run_pypolychord.py * updated run_pypolychord.ipynb with py2nb * change requirement to anesthetic==2.0.0b11 * removed creation of .paramnames file from run(), added to run_pypolychord.py * corrected kwargs error message * exception handling if chains/ already exists * update to anesthetic 2.0.0b12 * rather than repeating PolyChordOutput.make_paramnames_file(), make it a static method and reuse it * changed setup.py to point to github anesthetic as 2.0.0b12 hasn't been released * remove unecessary os import * removed commented out/empty lines around paramname creation * removed unnecessary kwargs = kwargs.copy() * double quotes to be more civilised * change to single quotes to make Lucas happy * update for more recent anesthetic * line spacing and remove todo (see pr 110 * get anesthetic from pypi instead of gh * might as well do some formatting * also fix wrap_loglikelihood for new interface (#110) * anesthetic back to optional, return None if not installed * version bump to 1.22.0 * py2nb run_pypolychord.py * Fix names of run scripts/notebooks * remove testing print statement * remove sqrt import, who knows where this came from * Updated with new recommended interface * anesthetic root is deprecated * Update README.rst * more anesthetic 2 madness * update notebooks * remove () from dict * play around with tests * add anesthetic to CI install step * only run tests on python>=3.8 * test likelihood without derived parameters * some test housekeeping * use or between the two loglikelihood return options * use pathlib.Path to save OSError nonsense * explain paramnames more clearly * check that grade_dims add up to nDims and test * update run docstring anesthetic stuff * correct run_pypolychord return * correct missing blank lines in run() docstring * add cluster_dir to kwargs, since technically it could be changed in PolyChordSettings (with difficulty) * remove os entirely in favour of pathlib * fix line too long * update date * fix default grade_frac * remove pytest-mpi requirement from CI * remove unecessary cast to set * don't use ac shorthand, but also don't clutter the namespace with log and pi * Revert "don't use ac shorthand, but also don't clutter the namespace with log and pi" This reverts commit cc807f5. * from anesthetic import make_2d_axes --------- Co-authored-by: Adam Ormondroyd <52655393+Ormorod@users.noreply.github.com> Co-authored-by: Will Handley <wh260@cam.ac.uk>
- Loading branch information