diff --git a/configs/samples.json b/configs/samples.json new file mode 100644 index 0000000..9874943 --- /dev/null +++ b/configs/samples.json @@ -0,0 +1,4 @@ +{ + "project_name": "Samples", + "directory": "~/review_datasets/samples" +} diff --git a/reView/components/map.py b/reView/components/map.py index 9a57825..6276dc2 100644 --- a/reView/components/map.py +++ b/reView/components/map.py @@ -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, "")