Skip to content

Commit

Permalink
Adding path to support upper level module imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunishchal committed Sep 26, 2020
1 parent 45a20eb commit e2a64df
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions solution/health_and_education/clusters/electricity_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
import numpy as np
import pandas as pd

# import sys
# sys.path.append('c:\\Users\\sunishchal.dev\\Documents\\solutions')
import sys
repo_path = str(pathlib.Path(__file__).parents[3])
sys.path.append(repo_path)

# import solarpvutil
from solution import solarpvutil
from model import dd

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

0 comments on commit e2a64df

Please sign in to comment.