Skip to content

Commit aa85145

Browse files
authored
Merge pull request #25 from GMSGDataExchange/feat/vectormath_0.2.0
Bug fix for vectormath v0.2.0, branding updates
2 parents 5df0f26 + a7b8e69 commit aa85145

5 files changed

Lines changed: 9 additions & 10 deletions

File tree

.bumpversion.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
[bumpversion]
22
current_version = 0.9.2
3-
files = omf/__init__.py setup.py README.rst
4-
3+
files = omf/__init__.py setup.py README.rst docs/conf.py

README.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,9 @@ used in the mining community.
6565
Connections
6666
-----------
6767

68-
This library makes use of the `properties <https://github.com/3ptscience/properties>`_
68+
This library makes use of the `properties <https://github.com/seequent/properties>`_
6969
open-source project, which is designed and publicly supported by
70-
`3point Science <https://www.3ptscience.com>`_, an
71-
`ARANZ Geo Limited <http://www.aranzgeo.com>`_ company.
70+
`Seequent <https://seequent.com>`_.
7271

7372
Installation
7473
------------

docs/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@
6262
# built documents.
6363
#
6464
# The short X.Y version.
65-
version = u'0.9.0'
65+
version = u'0.9.2'
6666
# The full version, including alpha/beta/rc tags.
67-
release = u'0.9.0'
67+
release = u'0.9.2'
6868

6969
# The language for content autogenerated by Sphinx. Refer to documentation
7070
# for a list of supported languages.
@@ -244,7 +244,7 @@
244244
# author, documentclass [howto, manual, or own class]).
245245
latex_documents = [
246246
(master_doc, 'omf.tex', u'omf Documentation',
247-
u'3point Science', 'manual'),
247+
u'Global Mining Standards and Guidelines Group', 'manual'),
248248
]
249249

250250
# The name of an image file (relative to this directory) to place at the top of

omf/serializers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ def array_serializer(arr, open_file, **kwargs): #
2121
raise ValueError('file mode must be wb')
2222
if not isinstance(arr, np.ndarray):
2323
raise ValueError('Array must by numpy ndarray')
24+
arr = arr.view(np.ndarray)
2425
if isinstance(arr.flatten()[0], np.floating): #pylint: disable=no-member
2526
dtype = '<f8'
2627
nan_mask = ~np.isnan(arr)

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
'properties==0.4.0',
3030
'pypng',
3131
'six',
32-
'vectormath',
32+
'vectormath==0.2.0',
3333
],
3434
author='Global Mining Standards and Guidelines Group',
35-
author_email='info@3ptscience.com',
35+
author_email='it@seequent.com',
3636
description='API Library for Open Mining Format',
3737
long_description=LONG_DESCRIPTION,
3838
keywords='mining data interchange',

0 commit comments

Comments
 (0)