policyengine-uk 2.48.0__py3-none-any.whl → 2.49.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of policyengine-uk might be problematic. Click here for more details.

@@ -125,10 +125,6 @@ class Simulation(CoreSimulation):
125
125
  self.move_values("capital_gains", "capital_gains_before_response")
126
126
  self.move_values("employment_income", "employment_income_before_lsr")
127
127
 
128
- if scenario is not None:
129
- if scenario.simulation_modifier is not None:
130
- scenario.simulation_modifier(self)
131
-
132
128
  if scenario is not None:
133
129
  self.baseline = Simulation(
134
130
  scenario=None,
@@ -139,6 +135,10 @@ class Simulation(CoreSimulation):
139
135
  else:
140
136
  self.baseline = self.clone()
141
137
 
138
+ if scenario is not None:
139
+ if scenario.simulation_modifier is not None:
140
+ scenario.simulation_modifier(self)
141
+
142
142
  self.calculated_periods = []
143
143
 
144
144
  def reset_calculations(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-uk
3
- Version: 2.48.0
3
+ Version: 2.49.0
4
4
  Summary: PolicyEngine tax and benefit system for the UK.
5
5
  Project-URL: Homepage, https://github.com/PolicyEngine/policyengine-uk
6
6
  Project-URL: Repository, https://github.com/PolicyEngine/policyengine-uk
@@ -3,7 +3,7 @@ policyengine_uk/entities.py,sha256=9yUbkUWQr3WydNE-gHhUudG97HGyXIZY3dkgQ6Z3t9A,1
3
3
  policyengine_uk/microsimulation.py,sha256=WskrrDrLGfDYwS1CzFk5rJkQSQlTknLkxFufStKRpxc,3379
4
4
  policyengine_uk/model_api.py,sha256=KdwJCL2HkXVxDpL6fCsCnQ9Sub6Kqp7Hyxlis3MNIx4,241
5
5
  policyengine_uk/modelled_policies.yaml,sha256=TLhvmkuI9ip-Fjq63n66RzDErCkN8K4BzY6XLxLMtFg,463
6
- policyengine_uk/simulation.py,sha256=P8QtdBI4gCrXJR0rchybLKhXHKAzEnLedE7_gxy3520,21340
6
+ policyengine_uk/simulation.py,sha256=ATrSdxxJrT8TZogmV0eVQcgB7wxaZz4NBl_ZBtMsk4E,21340
7
7
  policyengine_uk/system.py,sha256=Z-ax_ImUq5k4tycuThczTxQNW5iTE6ikBJIBQdKfIzU,91
8
8
  policyengine_uk/tax_benefit_system.py,sha256=CjX1lERyOm_vlgHQcQO92HZtJiwItLH-MxJveJqk6iM,5165
9
9
  policyengine_uk/data/__init__.py,sha256=J0bZ3WnvPzZ4qfVLYcwOc4lziMUMdbcMqJ3xwjoekbM,101
@@ -1386,7 +1386,7 @@ policyengine_uk/variables/misc/spi_imputed.py,sha256=iPVlBF_TisM0rtKvO-3-PQ2UYCe
1386
1386
  policyengine_uk/variables/misc/uc_migrated.py,sha256=zFNcUJaO8gwmbL1iY9GKgUt3G6J9yrCraqBV_5dCvlM,306
1387
1387
  policyengine_uk/variables/misc/categories/lower_middle_or_higher.py,sha256=C54tHYz2DmOyvQYCC1bF8RJwRZinhAq_e3aYC-9F5fM,157
1388
1388
  policyengine_uk/variables/misc/categories/lower_or_higher.py,sha256=81NIbLLabRr9NwjpUZDuV8IV8_mqmp5NM-CZvt55TwE,129
1389
- policyengine_uk-2.48.0.dist-info/METADATA,sha256=4YH9It7bMX8nPmTHR7nPoMrDPKuiTgtP06BsFdsz6u4,3995
1390
- policyengine_uk-2.48.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
1391
- policyengine_uk-2.48.0.dist-info/licenses/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
1392
- policyengine_uk-2.48.0.dist-info/RECORD,,
1389
+ policyengine_uk-2.49.0.dist-info/METADATA,sha256=l8aFEG5xa5GWGFyiMZbI4IAmHy3dLqVC0P3pj3FGO-4,3995
1390
+ policyengine_uk-2.49.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
1391
+ policyengine_uk-2.49.0.dist-info/licenses/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
1392
+ policyengine_uk-2.49.0.dist-info/RECORD,,