mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
show variables only when it exists (#277)
This commit is contained in:
@@ -460,9 +460,10 @@ def tasks_window(tasks: list[FactorTask | ModelTask]):
|
||||
st.latex(mt.formulation)
|
||||
|
||||
mks = "| Variable | Description |\n| --- | --- |\n"
|
||||
for v, d in mt.variables.items():
|
||||
mks += f"| ${v}$ | {d} |\n"
|
||||
st.markdown(mks)
|
||||
if mt.variables:
|
||||
for v, d in mt.variables.items():
|
||||
mks += f"| ${v}$ | {d} |\n"
|
||||
st.markdown(mks)
|
||||
|
||||
|
||||
def research_window():
|
||||
|
||||
Reference in New Issue
Block a user