Skip to content

Commit

Permalink
Merge branch 'release/0.0.2' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
MaGering committed Sep 19, 2023
2 parents 6c0878e + 4b13d0d commit 8d9fe84
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
author = "Reiner Lemoine Institut"

# The full version, including alpha/beta/rc tags
release = "0.0.2dev0"
release = "0.0.3dev0"


# -- General configuration ---------------------------------------------------
Expand Down
5 changes: 4 additions & 1 deletion docs/docs_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
setuptools
-e .
-e .
sphinx
sphinx_rtd_theme
sphinx-copybutton
1 change: 1 addition & 0 deletions docs/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ What's new
:backlinks: top

.. include:: whats_new/v0-0-1.rst
.. include:: whats_new/v0-0-2.rst
2 changes: 2 additions & 0 deletions docs/whats_new/v0-0-1.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
v0.0.1
======

* First release of oemoflex
5 changes: 5 additions & 0 deletions docs/whats_new/v0-0-2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
v0.0.2
======

* The oemof-tabular version has been increased to v0.0.4.dev1 which leads to an update of the
oemof.solph version to dev version which currently stands at version 0.5.1
8 changes: 7 additions & 1 deletion examples/plotting_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@
input_path = os.path.join(
here, "03_postprocessed", "simple_model", "sequences", "bus", "A-electricity.csv"
)
data = pd.read_csv(input_path, header=[0, 1, 2], parse_dates=[0], index_col=[0])

try:
data = pd.read_csv(input_path, header=[0, 1, 2], parse_dates=[0], index_col=[0])
except FileNotFoundError:
raise FileNotFoundError(
f"Missing file: {input_path}.\nPlease run 'simple_model' first."
)

# create directory for plots
path_plotted = os.path.join(here, "04_plotted")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def read(fname):

setup(
name="oemoflex",
version="0.0.2dev0",
version="0.0.3dev0",
description="A flexible model structure for creating and analysing multi-regional"
"sector-integrated energysystem models featuring many flexibility options",
long_description=read("README.md"),
Expand Down

0 comments on commit 8d9fe84

Please sign in to comment.