From 08a116607364e26bdd59cb529b64b47881a74c16 Mon Sep 17 00:00:00 2001 From: "martin.holmer@gmail.com" Date: Sat, 28 Sep 2024 10:38:55 -0400 Subject: [PATCH] Fix Records.tmd_constructor logic --- taxcalc/__init__.py | 2 +- taxcalc/records.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/taxcalc/__init__.py b/taxcalc/__init__.py index 99296938d..9c86078b9 100644 --- a/taxcalc/__init__.py +++ b/taxcalc/__init__.py @@ -14,4 +14,4 @@ from taxcalc.utils import * from taxcalc.cli import * -__version__ = '4.2.2' +__version__ = '4.2.2a' diff --git a/taxcalc/records.py b/taxcalc/records.py index 7b5a9936a..dcebf687f 100644 --- a/taxcalc/records.py +++ b/taxcalc/records.py @@ -246,7 +246,7 @@ def tmd_constructor( return Records( data=pd.read_csv(data_path), start_year=Records.TMDCSV_YEAR, - weights=str(weights_path), + weights=pd.read_csv(weights_path), gfactors=GrowFactors(growfactors_filename=str(growfactors_path)), adjust_ratios=None, exact_calculations=exact_calculations,