Skip to content

Commit

Permalink
Fixes #181
Browse files Browse the repository at this point in the history
  • Loading branch information
alephcero committed Nov 14, 2024
1 parent 3324268 commit aecc0a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion urbantrips/run_interactive_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def cargar_tabla_sql(tabla_sql, tipo_conexion="dash", query=""):
st.session_state.configs = utils.leer_configs_generales()

configs = st.session_state.configs
h3_legs_res = configs["resolucion_h3"]
alias = configs["alias_db_data"]
use_branches = configs["lineas_contienen_ramales"]
metadata_lineas = cargar_tabla_sql("metadata_lineas", "insumos")[
Expand Down Expand Up @@ -123,7 +124,9 @@ def seleccionar_linea(nombre_columna, key_input, key_select, branch_key, conn_in
col1, col2, col3 = st.columns([1, 3, 3])

with col1:
h3_res_comp = st.slider("Resolución H3", min_value=7, max_value=9, value=8)
h3_res_comp = st.slider(
"Resolución H3", min_value=7, max_value=h3_legs_res, value=h3_legs_res
)

if st.button("Comparar líneas"):
for i in [1, 2]:
Expand Down

0 comments on commit aecc0a2

Please sign in to comment.