Skip to content

Commit

Permalink
Removed accidental Config call in the ReEDS page.
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamsTravis committed Oct 4, 2024
1 parent 5d5d557 commit 3f04d42
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions configs/samples.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"project_name": "Samples",
"directory": "~/review_datasets/samples"
}
4 changes: 3 additions & 1 deletion reView/components/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,12 @@ def __init__(
df, color_var, project, color_range[0], color_range[1]
)
self.demand_data = demand_data
self.capcol = Config(project).capacity_column

if project:
self.capcol = Config(project).capacity_column
self.config = Config(project)
else:
self.capcol = "built_capacity"

if project:
self.units = Config(self.project).units.get(self.color_var, "")
Expand Down

0 comments on commit 3f04d42

Please sign in to comment.