Skip to content

Commit e6c651c

Browse files
Fix bug in generation script
1 parent 109a1ab commit e6c651c

2 files changed

Lines changed: 3 additions & 11 deletions

File tree

.github/workflows/push.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,12 @@ jobs:
4545
POLICYENGINE_US_DATA_GITHUB_TOKEN: ${{ secrets.POLICYENGINE_US_DATA_GITHUB_TOKEN }}
4646
- name: Build datasets
4747
run: make data
48+
env:
49+
LITE_MODE: true
4850
- name: Run tests
4951
run: pytest
5052
- name: Test documentation builds
5153
run: make documentation
52-
- name: Upload CPS 2024
53-
uses: actions/upload-artifact@v4
54-
with:
55-
name: cps_2024.h5
56-
path: policyengine_us_data/storage/cps_2024.h5
57-
- name: Upload ECPS 2024
58-
uses: actions/upload-artifact@v4
59-
with:
60-
name: enhanced_cps_2024.h5
61-
path: policyengine_us_data/storage/enhanced_cps_2024.h5
6254
- name: Build Jupyter Book
6355
run: make documentation
6456
- name: Deploy documentation

policyengine_us_data/datasets/cps/extended_cps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def generate(self):
118118
print(
119119
f"Predicting imputed values took {time.time() - start:.2f} seconds"
120120
)
121-
121+
cps_sim = Microsimulation(dataset=self.cps)
122122
data = cps_sim.dataset.load_dataset()
123123
new_data = {}
124124

0 commit comments

Comments
 (0)