Skip to content

Commit

Permalink
Merge pull request #160 from nismod/fix/setup_args
Browse files Browse the repository at this point in the history
Removed data arguments to cli setup script
  • Loading branch information
eggimasv committed Mar 6, 2019
2 parents 13e330e + b1ceba3 commit a65d623
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions energy_demand/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ def parse_arguments():
'setup',
help='Executes the raw reading functions')

parser_init.add_argument(
'-d',
'--local_data',
default='./data',
help='Path to the local data folder')

parser_init.add_argument(
'-f',
'--config_file',
Expand Down
2 changes: 0 additions & 2 deletions energy_demand/scripts/s_post_installation.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ def post_install_setup(args):
print("... start running initialisation scripts", flush=True)

path_config_file = args.config_file
local_data_path = args.local_data

config = data_loader.read_config_file(path_config_file)

local_data_path = config['PATHS']['path_local_data']
base_yr = config['CONFIG']['base_yr']

data = {}
Expand Down

0 comments on commit a65d623

Please sign in to comment.