-
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
Merge emcee_batch
Into dev
#404
Open
TimothyWillard
wants to merge
60
commits into
dev
Choose a base branch
from
feature/403/emcee_batch
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…unciton that just run a simulation
…into emcee_batch
…into emcee_batch
Merged in the remaining components of `gempyor` and resolved corresponding conflicts.
Added a runtime error to `get_static_arguements` if `modinf` compartments attribute is `None` and a corresponding test. Also rearranged the logic in `ModelInfo.__init__` to always initialize a `compartments` attribute, even if it's `None`.
* 'compartments' and 'seir' sections are now required in the config for inferece. * Added logic to `get_static_arguments` to allow it to work without an 'seir_modifiers' section in the config.
Updated test in `test_outcomes.py` to pass by adding the required 'compartments' and 'seir' sections to the config for inference.
Added required 'compartments' and 'seir' sections for inference to the 'config_npi.yml'.
Updated the 'config_npi_custom_pnames.yml' config to add the required 'compartments' and 'seir' sections for inference.
TimothyWillard
added
gempyor
Concerns the Python core.
batch
Relating to batch processing.
high priority
High priority.
inference
Concerns the parameter inference framework.
labels
Nov 21, 2024
* Had to move seeding file to meet expected directory structure. * Initialize `ModelInfo.npi_config_outcomes` with `None` always. * Early exit for `read_parameters_from_config` if `ModelInfo.outcomes_config` is `None`.
Had to manually add seeding files to the `model_output/` directory to make them work.
Add a 'transitions' section to the 'seir' config section to let the `test_spatial_groups` NPIs test pass.
Added a bug fix to `compute_all_multioutcomes` to look for if a sourced outcome exists and has not been processed yet and if so skip that outcome for now and re-add it to the end of the outcomes to process. Required for the `test_outcomes_pcomp` and `test_outcomes_pcomp_read_write` tests to pass. Also minor edits to `config_mc_selection.yml` to add the required 'compartments'/'seir' sections.
Didn't run automatically since I had this marked as draft, but manually ran them and GH actions do pass:
With commit 05b760b. |
TimothyWillard
requested review from
emprzy,
pearsonca,
saraloo,
twallema,
MacdonaldJoshuaCaleb and
fang19911030
November 25, 2024 13:05
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
batch
Relating to batch processing.
gempyor
Concerns the Python core.
high priority
High priority.
inference
Concerns the parameter inference framework.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe your changes.
This pull request makes the changes required to shape the
emcee_batch
branch into an appropriate format fordev
.Does this pull request make any user interface changes? If so please describe.
The user interface changes are:
GempyorInference
. Likely not a major change for users as any users doing inference are usually specifying compartments and transitions, but is a change for unit testing.Those are reflected in updates to the documentation in the "Inference with EMCEE" GitBook documentation page.
What does your pull request address? Tag relevant issues.
This pull request addresses GH-403.