Skip to content

Commit

Permalink
Modifying structure to support multiple clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunishchal committed Sep 26, 2020
1 parent 395ed46 commit 45a20eb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions solution/health_and_education/clusters/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"""Health & Education solution model for Electricity Cluster
Excel filename: CORE_PopulationChange_29Jan2020 (version 1.4).xlsx
Excel sheet name: Electricity_cluster
"""
import pathlib

import numpy as np
import pandas as pd
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# import solarpvutil

DATADIR = pathlib.Path(__file__).parents[0].joinpath('data')
DATADIR = pathlib.Path(__file__).parents[1].joinpath('data')
THISDIR = pathlib.Path(__file__).parents[0]

name = 'Health and Education - Electricity Cluster'
Expand Down
2 changes: 1 addition & 1 deletion solution/health_and_education/tests/test_electricity.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import pandas as pd
import numpy as np

import electricity_cluster
import clusters.electricity_cluster as electricity_cluster

test_elec = electricity_cluster.Scenario()
exp_elec = pd.read_csv('expected_elec_cluster.csv', header=None)
Expand Down

0 comments on commit 45a20eb

Please sign in to comment.