PolicyEngine / PolicyEngine/policyengine-us

Fix policyengine-core so it does not crash Policyengine-US model

Open
#4,549 0 comments 0 reactions 0 assignees View on GitHub
bug state tax
Dominant language
Python
Stars
163
Forks
213
Avg merge
3d 3h
Merged PRs (30d)
96

Description

Using the following up-to-date versions, Policyengine-US crashes as described at the bottom:

```
% pip list | grep policyengine
policyengine-core 2.21.8
policyengine-us 0.777.2
```

Here is the end of the fatal error traceback:

```
File "..anaconda3/envs/policyengine-us/lib/python3.10/site-packages/
policyengine_core/simulations/simulation.py", line 1349, in _get_macro_cache
self.dataset.file_path.parent
AttributeError: 'str' object has no attribute 'parent'
```

Can this bug be fixed?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.