Newer
Older
Changes for each binarycpython version since 0.9.1.
https://keepachangelog.com/en/0.3.0/
* 0.9.2:
- Added scripts to generate test and docstring reports (generate_reports.sh)
- Added scripts to (re)install the code with all dependencies (install.sh), without dependencies (install_without_dependencies.sh) and via pip locally (install_with_pip.sh) (this doesn't install it from the pypi server but uses pip to compile and install the local version) and via pip locally without dependencies (install_with_pip_without_dependencies.sh).
- Added centralized version number (VERSION) which is used source for all the other scripts.
- Updated readme to refer to the new scripts
- Added script to generate the documentation (generate_docs.sh)
- Added file containing the development requirements (development_requirements.txt)
- Added functionality to use a custom system_generator. This function allows the user to provide their own generator that yields system dictionaries. Can be useful for some random sampling, or interfacing with other codes
- merged the autoresolution branch that contains:
- Many updates in terms of functionality of the grid
- improved verbose output to be in boxes, use ANSI colours
- and report total maximum memory usage throughout the run
- added postcode, topcode and bottomcode options to place extra user-defined code in the gridcode
- removed the cleanup of caches (e.g. for the Moe interpolators) when the object is nested: the caches need to stay until the process shuts down (they're not big)
- resolution parameter deprecated, now uses the samplerfunc only
- the samplerfunc grid parameter replaces spacingfunc: this returns a list of sampled points
- grid spacing updated with left, right, center locators
- const_dt spacing function now allows you to set a timestep and obtain a list of masses that fill the timesteps (also in log time)
- gaussian_zoom spacing function allows you to zoom in a particular region of parameter space
- changed the grid_variable structure and grid code generation
- ensemble functions put into ensemble.py
- new load_ensemble and write_ensemble functions to put new functionality into single access functions
- automatically gzip or bzip2 compress ensembles based on file extension
- added msgpack support based on file extension
- JSON decoding done with simplejson because it's faster
- dictionary utility functions put into dicts.py
- some new functions to parse recursively dict keys and/or values that are faster than David's, but probably not as flexible. When these are all you need, they're more efficient.
- added a few new Jupyter notebooks
- Changed the python version requirement to be 3.9+ (using 3.9.9)
- Restructured the population grid object by splitting off functions that belong in the same category and storing them in a mixin-class within the population_extensions/ dir.
- Made the Population object available via "from binarycpython import Population"
- merged the HPC branch:
- added Condor support
- added Slurm support
- Fixed JSON load(s) to not convert to ASCII hence preserve UTF-8 and hopefully be faster.
- Made sure file loads/saves use UTF-8
- Fixed version dict to include units section and cleaned up a few other unit handlers