Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make to CTS #22

Merged
merged 6 commits into from
Jun 6, 2024
Merged

Make to CTS #22

merged 6 commits into from
Jun 6, 2024

Conversation

haneslinger
Copy link
Contributor

The entry point is building_sync_to_cts. It

  1. aggregate bulidingsync files by Agency Designated Covered Facility ID to make facilities
  2. select the cheapest scenario from each file
  3. for each facility, write a row to the file (values are all computed in parsers)

import logging
from pathlib import Path

import pandas as pd
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is added to the poetry file as a requirement yet...can you also make sure that you choose a version of pandas that match what is included with SEED?

Copy link
Contributor Author

@haneslinger haneslinger May 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm, I added it to the toml and its in the lock, am I missing something? seed doesn't seem to specific a pandas version, it requires https://github.com/SEED-platform/buildingid, which itself requires pandas, but it neither specifics or locks a pandas versions.

I can tell you I required this new version of BAE in seed locally and it worked. 🤷🏻

@haneslinger haneslinger requested a review from kflemin May 30, 2024 00:54
Copy link
Contributor

@kflemin kflemin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚚

@kflemin
Copy link
Contributor

kflemin commented May 31, 2024

to document: we will lock the version of pandas to v2.2.2 to match SEED. Once that's done this will be ready to merge and release! thanks!

@haneslinger haneslinger requested a review from kflemin June 4, 2024 17:38
Copy link
Contributor

@kflemin kflemin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏆

@haneslinger haneslinger merged commit ed3fb71 into develop Jun 6, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants