buildstock-fetch 1.4.3__py3-none-any.whl → 1.4.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of buildstock-fetch might be problematic. Click here for more details.

@@ -399,7 +399,7 @@ def _run_interactive_mode() -> dict[str, Union[str, list[str]]]:
399
399
  )
400
400
 
401
401
  # Retrieve upgrade ids
402
- selected_upgrade_ids = _handle_cancellation(
402
+ selected_upgrade_ids_raw = _handle_cancellation(
403
403
  questionary.checkbox(
404
404
  "Select upgrade ids:",
405
405
  choices=_get_upgrade_ids_options(selected_release_name),
@@ -408,6 +408,16 @@ def _run_interactive_mode() -> dict[str, Union[str, list[str]]]:
408
408
  ).ask()
409
409
  )
410
410
 
411
+ # Extract upgrade ID integers from the selected options
412
+ selected_upgrade_ids = []
413
+ for option in selected_upgrade_ids_raw:
414
+ if ":" in option:
415
+ # Extract the integer before the colon
416
+ upgrade_id = option.split(":")[0].strip()
417
+ selected_upgrade_ids.append(upgrade_id)
418
+ else:
419
+ selected_upgrade_ids.append(option)
420
+
411
421
  # Retrieve state
412
422
  selected_states: list[str] = cast(
413
423
  list[str],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: buildstock-fetch
3
- Version: 1.4.3
3
+ Version: 1.4.4
4
4
  Summary: This library simplifies downloading building characteristics and load curve data from NREL's ResStock and ComStock projects.
5
5
  Author-email: Switchbox <hello@switch.box>
6
6
  Project-URL: Homepage, https://switchbox-data.github.io/buildstock-fetch/
@@ -1,7 +1,7 @@
1
1
  buildstock_fetch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  buildstock_fetch/__main__.py,sha256=wEPNJ-s7F6KcRQ_4B5Xh08uqvYZHno5F2R8DU0BMBtk,80
3
3
  buildstock_fetch/main.py,sha256=yZ8xoYWnoyeTIDMXzVnbQt57a2NAZS7bEPRDtj_SuiU,90887
4
- buildstock_fetch/main_cli.py,sha256=ZZ6Yn7rBfXguCiUSszKlB0L-FY88ZJM_HXLC8o1EGNc,36311
4
+ buildstock_fetch/main_cli.py,sha256=NydxBL72yRMXnFCRwYuZP7wvuF9S_7yfVFqGY9ea0OU,36695
5
5
  buildstock_fetch/data/buildstock_releases.json,sha256=XL-D1Xdix59sFGbS6vKFiGhQakhhPrwn14N-Tgt9iuk,11620
6
6
  buildstock_fetch/data/buildstock_upgrades_lookup.json,sha256=CCc2dV6voD8r6WpBBq9zoxhVQGAPcUGmAoFyKoUcUpo,1486
7
7
  buildstock_fetch/data/building_data/combined_metadata.parquet/product=comstock/release_year=2021/weather_file=amy2018/release_version=1/state=AK/d1454abff0d94c8090af7b3e923c473b-0.parquet,sha256=nG6H3oGyDzPk1B15YmFd_U81PsA14uABqqwK7P30nKE,7059
@@ -1603,9 +1603,9 @@ buildstock_fetch/data/building_data/combined_metadata.parquet/product=resstock/r
1603
1603
  buildstock_fetch/data/load_curve_column_map/2022_resstock_load_curve_columns.csv,sha256=9UoTPlvxR3RqsxH8i4tI75lLtdSAT-HbAFxwlzvAYNY,7339
1604
1604
  buildstock_fetch/data/load_curve_column_map/2024_resstock_load_curve_columns.csv,sha256=TIxqsE-iVHE5tYq9oPSgBxIVbd5qfyDcJG_eTqds9aY,7471
1605
1605
  buildstock_fetch/data/weather_station_map/weather_station_map.parquet,sha256=igNrx-UGH20CqPcjANTDrrMyj6Z4_JcXIg2aaCNhFRg,346990
1606
- buildstock_fetch-1.4.3.dist-info/licenses/LICENSE,sha256=TJeh2yvO8__8Rbamd8r48-zvlFCINAsu9nOo5QdMRX8,1066
1607
- buildstock_fetch-1.4.3.dist-info/METADATA,sha256=7TaxdMpRmwemxFqaneiJ09sXgPzlcuc_xBUIPGdzTn4,8323
1608
- buildstock_fetch-1.4.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
1609
- buildstock_fetch-1.4.3.dist-info/entry_points.txt,sha256=C7zPk3BSLcI47ymvYKI05nvfRJMEXz4BPIIDKsjePn8,54
1610
- buildstock_fetch-1.4.3.dist-info/top_level.txt,sha256=-PGb2C-Tb3O-wPqUHSOBrvJqRzNHgY_KTbTsXaHIo5M,17
1611
- buildstock_fetch-1.4.3.dist-info/RECORD,,
1606
+ buildstock_fetch-1.4.4.dist-info/licenses/LICENSE,sha256=TJeh2yvO8__8Rbamd8r48-zvlFCINAsu9nOo5QdMRX8,1066
1607
+ buildstock_fetch-1.4.4.dist-info/METADATA,sha256=Key8VMJHuY3BddTT_xACa2sjJhTWLKpDUfYf4KuQcWs,8323
1608
+ buildstock_fetch-1.4.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
1609
+ buildstock_fetch-1.4.4.dist-info/entry_points.txt,sha256=C7zPk3BSLcI47ymvYKI05nvfRJMEXz4BPIIDKsjePn8,54
1610
+ buildstock_fetch-1.4.4.dist-info/top_level.txt,sha256=-PGb2C-Tb3O-wPqUHSOBrvJqRzNHgY_KTbTsXaHIo5M,17
1611
+ buildstock_fetch-1.4.4.dist-info/RECORD,,