Skip to content

Commit

Permalink
Merge pull request #37 from FRESNA/v0.4.8
Browse files Browse the repository at this point in the history
v0.4.8
  • Loading branch information
FabianHofmann authored Dec 3, 2020
2 parents 020d5e5 + 63dae9a commit a3aa406
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion powerplantmatching/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

from __future__ import absolute_import

__version__ = "0.4.7"
__version__ = "0.4.8"
__author__ = "Fabian Hofmann, Jonas Hoersch, Fabian Gotzens"
__copyright__ = "Copyright 2017-2020 Frankfurt Institute for Advanced Studies"
# The rough hierarchy of this package is
Expand Down
4 changes: 2 additions & 2 deletions powerplantmatching/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get_config(filename=None, **overrides):
The configuration dictionary
"""
from hashlib import sha1
from base64 import encodestring
from base64 import encodebytes
from six.moves import cPickle
import yaml
from logging import info
Expand All @@ -104,7 +104,7 @@ def get_config(filename=None, **overrides):
if len(dict(**overrides)) == 0:
config['hash'] = 'default'
else:
config['hash'] = encodestring(sha1digest).decode('ascii')[2:12]
config['hash'] = encodebytes(sha1digest).decode('ascii')[2:12]

if not isdir(_data_out('.', config=config)):
makedirs(abspath(_data_out('.', config=config)))
Expand Down
2 changes: 1 addition & 1 deletion powerplantmatching/package_data/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ process_limit: 2
remove_missing_coords: true

#already build data
matched_data_url: https://raw.githubusercontent.com/FRESNA/powerplantmatching/v0.4.7/powerplants.csv
matched_data_url: https://raw.githubusercontent.com/FRESNA/powerplantmatching/v0.4.8/powerplants.csv

#data config
BNETZA:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name='powerplantmatching',
version='0.4.7',
version='0.4.8',
author='Fabian Hofmann (FIAS), Jonas Hoersch (KIT), Fabian Gotzens (FZ Jülich)',
author_email='[email protected]',
description='Toolset for generating and managing Power Plant Data',
Expand Down

0 comments on commit a3aa406

Please sign in to comment.