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

Release cycle, ? 2025 #449

Draft
wants to merge 43 commits into
base: main
Choose a base branch
from
Draft

Release cycle, ? 2025 #449

wants to merge 43 commits into from

Conversation

TimothyWillard
Copy link
Contributor

@TimothyWillard TimothyWillard commented Jan 7, 2025

Description

This PR is a running accumulation of changes to merge from dev into main that will be merged at a to be decided release cycle.

News

Breaking Changes

New Features

Bug Fixes

  • ...

Notes

  • ...

TimothyWillard and others added 30 commits December 5, 2024 14:46
Removed the `picklable_lamda_alpha` and `picklable_lamda_sigma` methods
from the `Parameters` class.
Created two files (`local-installation.md` and `local_install_or_update.sh`) that will likely make it easier for new flepiMoP users to install flepiMoP onto their machine.
* Added explicit exports,
* Reordered imports,
* Added general structure comments, and
* Refactored all lines to be less than 92 characters.
Remvoed the `modinf` arg from the `_DataFrame2NumbaDict` internal
utility and replaced it with the individual attributes from the `modinf`
object that are needed.
Untangled the `Seeding` class from the `ModelInfo` class by adding a
method to `ModelInfo` that interfaces with the `Seeding` class.
Updated remaining references in inactive code, notebooks and the
`gempyor.dev` module.
Functionality to render jinja2 templates to make creating batch files
easier. Also opens up the door to future use of templates like creating
config files. Associated docs+tests included.
Attempt to fix Jinja2 lader issue by falling back to a file system
loader if a package loader fails.
Added `gempyor.logging` module with `_get_logging_level`,
`get_script_logger`, and `ClickHandler` along with corresponding
documentation and unit tests.
Pytest hooks into the root logger, which breaks the use case here where
we only want a single handler to emit a log record. Create a special
carve out for pytest and put it in `get_script_logger` to make testing
logging results of any function easy.
User local installation documentation and bash script
Added a helper to log the inputs given to a CLI tool when the verbosity
is set to debug. Mostly for user/dev debugging. Also added corresponding
docs and unit tests.
Added the `DurationParamType` for specifying custom durations in a user
friendly way for CLI interfaces along with corresponding unit tests.
Also added unit tests, but still need to add documentation.
Fleshed out documentation for the `gempyor.shared_cli` module. Added
the ability to optionally return the converted memory as an int instead
of as a float to `MemoryParamType`. Removed pre-instantiated custom
click param types.
Bug in `MemoryParamType.convert` was failing if a unit was not given
with a value. Similar to `DurationParamType` it assumes that numbers
without a unit are given in the default unit of the type.
@TimothyWillard TimothyWillard added next release Marks a PR as a target to include in the next release. low priority Low priority. labels Jan 7, 2025
Per @pearsonca request:
* Only use the `PackageLoader` for setting up the jinja environment.
* Removed `gempyor._jinja._get_template/_render_template`.
* Per @pearsonca, @jcblemai suggestions call positional arguements with
  names.
* Restyle call to `get_seeding_data` in `gempyor.seir.onerun_SEIR`.
* Added parameters to explicitly control the behavior of unitless values
  to both `DurationParamType` and `MemoryParamType`.
* Fleshed out documentation for custom types.
Extracted `DurationParamType` and `MemoryParamType` out of
`gempyor.shared_cli` into `gempyor._click`.
Remove Dead Methods From `gempyor.parameters.Parameters`
…-types

Duration/Memory Convenience Click Types
…pendence-on-modinf

Remove `gempyor.seeding` Dependence On `gempyor.model_info.ModelInfo`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low priority Low priority. next release Marks a PR as a target to include in the next release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants