Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
jgostick committed Aug 23, 2018
2 parents ec4b7bd + bded6a7 commit c016c18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion openpnm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"""

__version__ = '2.0.0'
__version__ = '2.0.1'

from . import utils
from .utils import Workspace, Project
Expand Down
4 changes: 2 additions & 2 deletions openpnm/io/XDMF.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def save(cls, network, phases=[], filename=''):
# geometry coordinates
row, col = f["coordinates"].shape
dims = ' '.join((str(row), str(col)))
hdf_loc = f.filename + ":coordinates"
hdf_loc = fname_hdf + ":coordinates"
geo_data = create_data_item(value=hdf_loc, Dimensions=dims,
Format='HDF', DataType="Float")
geo = create_geometry(GeometryType="XYZ")
Expand All @@ -88,7 +88,7 @@ def save(cls, network, phases=[], filename=''):
# topolgy connections
row, col = f["connections"].shape # col first then row
dims = ' '.join((str(row), str(col)))
hdf_loc = f.filename + ":connections"
hdf_loc = fname_hdf + ":connections"
topo_data = create_data_item(value=hdf_loc, Dimensions=dims,
Format="HDF", NumberType="Int")
topo = create_topology(TopologyType="Polyline",
Expand Down

0 comments on commit c016c18

Please sign in to comment.