haileyhalimj@gmail.com commited on
Commit Β·
07cab60
1
Parent(s): 3e33d31
Fix: Remove non-existent set_global_dates call
Browse files- Remove call to extract.set_global_dates() which doesn't exist
- Extract functions take start_date as parameter directly
- No need for global date setting
src/config/optimization_config.py
CHANGED
|
@@ -64,9 +64,7 @@ def get_date_span():
|
|
| 64 |
#fetch date from streamlit or default value. The streamlit and default references the demand data (COOIS_Planned_and_Released.csv)
|
| 65 |
DATE_SPAN, start_date, end_date = get_date_span()
|
| 66 |
|
| 67 |
-
#
|
| 68 |
-
extract.set_global_dates(start_date, end_date)
|
| 69 |
-
|
| 70 |
print(f"\nπ
DATE RANGE: {start_date} to {end_date}")
|
| 71 |
print(f"π PRODUCT SOURCE: COOIS_Released_Prod_Orders.csv")
|
| 72 |
|
|
|
|
| 64 |
#fetch date from streamlit or default value. The streamlit and default references the demand data (COOIS_Planned_and_Released.csv)
|
| 65 |
DATE_SPAN, start_date, end_date = get_date_span()
|
| 66 |
|
| 67 |
+
# Note: No need to set global dates - extract functions take start_date as parameter directly
|
|
|
|
|
|
|
| 68 |
print(f"\nπ
DATE RANGE: {start_date} to {end_date}")
|
| 69 |
print(f"π PRODUCT SOURCE: COOIS_Released_Prod_Orders.csv")
|
| 70 |
|