Repair expansion of axes on a variable given as input
When expanding axes, the expected behavour is to override any input value for the requested variable and period
As longs as we passed some input for a variable on a period, it was not being overrode, creating a NumPy's error (boradcasting)
By additionally checking that an input was given, now we make that the array has the correct shape by constructing it with NumPy's tile with a shape equal to the number of the axis expansion count requested.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
Updates the requirements on openfisca-core to permit the latest version.
Changelog
Sourced from openfisca-core's changelog.
... (truncated)
Commits
3123d27
Refactor web_api test using pytest.fixtures0e42b47
Style // remove redundant underscore from_client
argumentb1dfd14
Update CHANGELOG.md390f194
bump versionaa3157c
Removetax_benefit_system
andsubject
from "tests/web_api/init.py" si...9cd824b
Modularise test_trace.pyd9fe83a
Modularise test_spec.py8e7fec0
Modularise test_parameters.pyeddd680
Fix import stylesf3dbee3
Modularise test_headers.pyDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually