Skip to content

Commit 9532ff0

Browse files
authored
Merge pull request #163 from openego/dev
changes to make compatible with networkx 2.4
2 parents 2466c6a + 52ea7d0 commit 9532ff0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/whatsnew/v0-0-10.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Release v0.0.10
22
================
33

4-
Release date: October 17, 2019
4+
Release date: October 18, 2019
55

66
Changes
77
-------

edisgo/grid/grids.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ def nodes_by_attribute(self, attr_val, attr='type'):
398398
value
399399
"""
400400

401-
temp_nodes = getattr(self, 'node')
401+
temp_nodes = getattr(self, 'nodes')
402402
nodes = list(filter(None, map(lambda x: x if temp_nodes[x][attr] == attr_val else None,
403403
temp_nodes.keys())))
404404

0 commit comments

Comments
 (0)