Update app.py
Browse files
app.py
CHANGED
|
@@ -1497,7 +1497,7 @@ def run_calc(prov_value, kab_value, kew_value, df_all, df_raw, pop_kab, pop_prov
|
|
| 1497 |
# ==== PIPELINE BARU (KUNCI KONSISTENSI) ====
|
| 1498 |
faktor_wilayah = build_faktor_wilayah(df, pop_kab, pop_prov, kew_value or "(Semua)")
|
| 1499 |
agg_jenis_full = build_agg_wilayah_jenis(df, faktor_wilayah, pop_khusus, kew_value or "(Semua)")
|
| 1500 |
-
agg_total = build_agg_wilayah_total_from_jenis(agg_jenis_full, faktor_wilayah, kew_value or "(Semua)")
|
| 1501 |
summary_jenis = build_summary_per_jenis(agg_jenis_full, agg_total)
|
| 1502 |
verif_total = build_verif_total(faktor_wilayah) # tanpa koma
|
| 1503 |
detail_view = attach_final_to_detail(df, agg_total, meta, kew_value or "(Semua)")
|
|
|
|
| 1497 |
# ==== PIPELINE BARU (KUNCI KONSISTENSI) ====
|
| 1498 |
faktor_wilayah = build_faktor_wilayah(df, pop_kab, pop_prov, kew_value or "(Semua)")
|
| 1499 |
agg_jenis_full = build_agg_wilayah_jenis(df, faktor_wilayah, pop_khusus, kew_value or "(Semua)")
|
| 1500 |
+
agg_total = build_agg_wilayah_total_from_jenis(agg_jenis_full, faktor_wilayah, pop_khusus, kew_value or "(Semua)")
|
| 1501 |
summary_jenis = build_summary_per_jenis(agg_jenis_full, agg_total)
|
| 1502 |
verif_total = build_verif_total(faktor_wilayah) # tanpa koma
|
| 1503 |
detail_view = attach_final_to_detail(df, agg_total, meta, kew_value or "(Semua)")
|