Skip to content

Commit

Permalink
move warning to bottom of list
Browse files Browse the repository at this point in the history
  • Loading branch information
mccalluc committed Nov 8, 2024
1 parent 9cd991d commit f2b5192
Showing 1 changed file with 27 additions and 15 deletions.
42 changes: 27 additions & 15 deletions dp_creator_ii/app/analysis_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,6 @@ def analysis_ui():
[],
),
ui.output_ui("columns_ui"),
ui.layout_columns(
[],
[
ui.markdown(
"This simulation assumes a normal distribution "
"between the specified lower and upper bounds. "
"Your data file has not been read except to determine the columns."
)
],
col_widths=col_widths,
),
ui.markdown(
"What is your privacy budget for this release? "
"Values above 1 will add less noise to the data, "
Expand Down Expand Up @@ -123,10 +112,33 @@ def columns_ui():
)
return [
[
ui.h3(column_ids_to_labels[column_id]),
column_ui(column_id),
]
for column_id in column_ids
[
ui.h3(column_ids_to_labels[column_id]),
column_ui(column_id),
]
for column_id in column_ids
],
[
(
ui.layout_columns(
[],
[
ui.markdown(
"""
This simulation assumes a normal
distribution between the specified
lower and upper bounds. Your data
file has not been read except to
determine the columns.
"""
)
],
col_widths=col_widths,
)
if column_ids
else []
)
],
]

@reactive.calc
Expand Down

0 comments on commit f2b5192

Please sign in to comment.