Skip to content

Commit 2fae90c

Browse files
authored
Merge pull request #525 from PSLmodels/fix-windows-bugs
Fix three statements that could cause problems on Windows
2 parents 4910962 + 0ec32bc commit 2fae90c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_solve_weights.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def test_parse_log_solved():
174174
) as f:
175175
f.write(log_content)
176176
f.flush()
177-
result = parse_log(Path(f.name))
177+
result = parse_log(Path(f.name))
178178

179179
assert result["status"] == "Solved"
180180
assert result["solve_time"] == pytest.approx(3.14)

tmd/national_targets/extract_irs_to_csv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def extract_all(
227227

228228
df.to_csv(out_path, index=False)
229229
rel = out_path.relative_to(Path.cwd())
230-
print(f"{len(df)} rows {rel}")
230+
print(f"{len(df)} rows -> {rel}")
231231
count += 1
232232

233233
return count

tmd/national_targets/potential_targets_to_soi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def compare_with_existing_soi(new_df, existing_soi_path, year=2021):
433433
if __name__ == "__main__":
434434
from tmd.storage import STORAGE_FOLDER
435435

436-
print("Converting irs_aggregate_values.csv soi.csv format...")
436+
print("Converting irs_aggregate_values.csv -> soi.csv format...")
437437
print()
438438

439439
# Exclude rentroyalty and estateincome for 2022 (PUF variables

0 commit comments

Comments
 (0)