Skip to content

Commit

Permalink
Merge pull request #216 from mccalluc/fix-nonetype-error-from-wind
Browse files Browse the repository at this point in the history
Fix many NoneType errors
  • Loading branch information
FedericoTartarini authored Dec 5, 2023
2 parents 86a6e58 + 0a95d01 commit 08c44d9
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
7 changes: 7 additions & 0 deletions my_project/tab_data_explorer/app_data_explorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def section_one_inputs():
for i in explore_dropdown_names
],
value="DBT",
clearable=False,
),
],
)
Expand Down Expand Up @@ -235,6 +236,7 @@ def section_two_inputs():
],
value="RH",
style={"flex": "70%"},
clearable=False,
),
],
),
Expand Down Expand Up @@ -342,6 +344,7 @@ def section_two_inputs():
],
value="RH",
style={"flex": "70%"},
clearable=False,
),
],
),
Expand Down Expand Up @@ -435,6 +438,7 @@ def section_three_inputs():
],
value="DBT",
style={"flex": "70%"},
clearable=False,
),
],
),
Expand All @@ -450,6 +454,7 @@ def section_three_inputs():
],
value="RH",
style={"flex": "70%"},
clearable=False,
),
],
),
Expand All @@ -465,6 +470,7 @@ def section_three_inputs():
],
value="glob_hor_rad",
style={"flex": "70%"},
clearable=False,
),
],
),
Expand Down Expand Up @@ -566,6 +572,7 @@ def section_three_inputs():
],
value="RH",
style={"flex": "70%"},
clearable=False,
),
],
),
Expand Down
1 change: 1 addition & 0 deletions my_project/tab_outdoor_comfort/app_outdoor_comfort.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def inputs_outdoor_comfort():
for i in outdoor_dropdown_names
],
value="utci_Sun_Wind",
clearable=False,
),
html.Div(id="image-selection", style={"flex": "10%"}),
],
Expand Down
2 changes: 2 additions & 0 deletions my_project/tab_psy_chart/app_psy_chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def inputs():
style={"flex": "70%"},
persistence_type="session",
persistence=True,
clearable=False,
),
],
),
Expand Down Expand Up @@ -175,6 +176,7 @@ def inputs():
],
value="RH",
style={"flex": "70%"},
clearable=False,
),
],
),
Expand Down
3 changes: 3 additions & 0 deletions my_project/tab_sun/app_sun.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def sun_path():
],
value="polar",
style={"width": "10rem"},
clearable=False,
),
],
),
Expand All @@ -96,6 +97,7 @@ def sun_path():
],
value="None",
style={"width": "20rem"},
clearable=False,
),
],
),
Expand Down Expand Up @@ -140,6 +142,7 @@ def explore_daily_heatmap():
],
value="glob_hor_rad",
style={"width": "20rem"},
clearable=False,
),
],
),
Expand Down
1 change: 1 addition & 0 deletions my_project/tab_t_rh/app_t_rh.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def layout_t_rh():
for var in var_to_plot
],
value=dropdown_names[var_to_plot[0]],
clearable=False,
),
],
),
Expand Down
4 changes: 4 additions & 0 deletions my_project/tab_wind/app_wind.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ def custom_wind_rose():
],
value=1,
style={"width": "6rem"},
clearable=False,
),
],
),
Expand All @@ -259,6 +260,7 @@ def custom_wind_rose():
],
value=1,
style={"width": "6rem"},
clearable=False,
),
],
),
Expand All @@ -282,6 +284,7 @@ def custom_wind_rose():
],
value=12,
style={"width": "6rem"},
clearable=False,
),
],
),
Expand All @@ -300,6 +303,7 @@ def custom_wind_rose():
],
value=24,
style={"width": "6rem"},
clearable=False,
),
],
),
Expand Down

0 comments on commit 08c44d9

Please sign in to comment.