-
Notifications
You must be signed in to change notification settings - Fork 4
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
Release cycle, December 2024 #375
Conversation
…unciton that just run a simulation
…into emcee_batch
…into emcee_batch
I'm seeing one potential issue w/ switch to pyproject.toml when using manual
also installation indicates:
Seems like some meta-data missing here? pip version 24.3.1, python version 3.10.12 |
I'm having a difficult time replicating this one. twillard@Mac ~/D/G/H/flepiMoP (dev)> uv venv .venv --python=/opt/homebrew/bin/python3.10
Using Python 3.10.16 interpreter at: /opt/homebrew/opt/[email protected]/bin/python3.10
Creating virtualenv at: .venv
Activate with: source .venv/bin/activate.fish
twillard@Mac ~/D/G/H/flepiMoP (dev)> source .venv/bin/activate.fish
(.venv) twillard@Mac ~/D/G/H/flepiMoP (dev)> uv pip install 'pip==24.3.1'
Resolved 1 package in 171ms
Prepared 1 package in 184ms
Installed 1 package in 7ms
+ pip==24.3.1
(.venv) twillard@Mac ~/D/G/H/flepiMoP (dev)> python --version
Python 3.10.16
(.venv) twillard@Mac ~/D/G/H/flepiMoP (dev)> pip --version
pip 24.3.1 from /Users/twillard/Desktop/GitHub/HopkinsIDD/flepiMoP/.venv/lib/python3.10/site-packages/pip (python 3.10)
(.venv) twillard@Mac ~/D/G/H/flepiMoP (dev)> pip install --editable flepimop/gempyor_pkg[test,aws]
Obtaining file:///Users/twillard/Desktop/GitHub/HopkinsIDD/flepiMoP/flepimop/gempyor_pkg
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
..... The output |
curiously, does not barf when not clearly, i should just not do system-wide library installs. |
Added an internal utility to custom format the yaml representation of a `confuse.Configuration` object. Creates a custom `yaml.Dumper` class that contains all of the custom representation changes as to not modify the `yaml` pkg defaults.
…tics-pmf * Correct formula for poisson log-likelihood Per this comment #375 (comment) corrected the formula for the poisson log-likelihood, including swapping the `ymodel` and `ydata` so it matches prior poisson likelihood. Added a unit test case to demonstrate this change is to restore current behavior. * Add test case with poisson and zeros Added a test case with poisson log-likelihood and zero valued data with the `zero_to_one` flag set to `True`. * Simplify poisson LL tests with only one variable
Changed the help page to use existing files in the `examples/tutorials` directory rather than construction test configs on the fly per a suggestion by @pearsonca.
The last remaining item for this release is GH-423. After that we will be clear to review and merge. |
Stronger and clearer wording suggested by @saraloo.
…umentation * `flepimop patch` unit test for `seir::parameters` Added a unit test to demonstrate the issue described in #375 (comment) with respect to the `seir::parameters` section. Appears to be related to if the parameters are a list or a dict. * Fix `parse_config_files` TL key override behavior Corrected an issue where `parse_config_files` would try to merge top-level keys which comes from `confuse`. Work around is to manually build a dictionary and then convert that to a `Configuration` object. * Add `--indent` option to `flepimop patch` For configuration of the outputted yaml. * Add detailed example to `flepimop patch --help` * Force default indent of `flepimop patch` to 4 * Upgrade TL key collision from warning to error * modify approach to handling help * Add `_dump_formatted_yaml` for custom yaml dump Added an internal utility to custom format the yaml representation of a `confuse.Configuration` object. Creates a custom `yaml.Dumper` class that contains all of the custom representation changes as to not modify the `yaml` pkg defaults. * `flepimop patch --help` uses example configs Changed the help page to use existing files in the `examples/tutorials` directory rather than construction test configs on the fly per a suggestion by @pearsonca. * update multi-configs gitbook * `parse_config_files` error includes config name * Resolve seir/outcome modifier scenarios * `flepimop patch` documenation edits Stronger and clearer wording suggested by @saraloo. --------- Co-authored-by: Carl A. B. Pearson <[email protected]>
Bug Fixes:
flepimop-inference-slot
called byflepimop-inference-main
are piped to a log file viasystem2
instead of pipes to support MINGW64, modified to capture stdout and stderr to log in using system2() being… #289.Dependencies:
click
minimum is now 8.1.7 (latest as of Aug 17, 2023).h5py
dependency togempyor
requirements and specifieddask
dependency to includedataframe
optional dependencies, Convertsetup.cfg
Topyproject.toml
#391.Deprecates:
gempyor-simulate ...
in favor offlepimop simulate ...
.-c/--config_files
option (config file(s) are now arguments not options).New Features:
patch
command that takes multiple config files and yields the merged resultgempyor
'ssetup.cfg
to the more modernpyproject.toml
, Convertsetup.cfg
Topyproject.toml
#391. No user facing changes.flepimop modifiers
subcommand with one action,config-plot
, for plotting the effects of modifiers on a config, Mergeemcee_batch
Intodev
#404.Removes/Modifies:
gempyor-(seir|outcomes) ...
- these were already no longer supported, just pruning entry points