Skip to content

Commit c6ff066

Browse files
committed
Merge branch 'release/v0.3.4'
2 parents 5279443 + 2d7b0de commit c6ff066

File tree

11 files changed

+31
-20
lines changed

11 files changed

+31
-20
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ nosetests.xml
4040
# data files
4141
*.h5
4242
*.mat
43+
!DoublePendulum.mat
4344

4445
# temp files
4546
~*

CHANGELOG.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
# Changelog
22

3-
## [0.3.3] (2017-12-13)
3+
## v0.3.4 (2019-02-14)
4+
5+
Apply sign when reading time series from Dymola result files (.mat)
6+
7+
## v0.3.3 (2017-12-13)
48

59
### Changed
6-
- Distribution package changed from .tar.gz to .whl (Python Wheel)
710

8-
## [0.3.2] (2017-07-09)
11+
Distribution package changed from .tar.gz to .whl (Python Wheel)
12+
13+
## v0.3.2 (2017-07-09)
914

1015
### Added
11-
- Support for Linux and Mac
16+
17+
Add support for Linux and Mac

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Get the scale for the first dimension:
7272

7373
-----------------------------
7474

75-
|copyright| 2017 |Dassault Systemes|
75+
|copyright| 2019 |Dassault Systemes|
7676

7777
.. _SDF specification: https://github.com/ScientificDataFormat/SDF
7878
.. _HDF5: https://www.hdfgroup.org/hdf5/

sdf/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2017 Dassault Systemes. All rights reserved.
1+
# Copyright (c) 2019 Dassault Systemes. All rights reserved.
22

33
import numpy as np
44
from .units import convert_unit
@@ -7,7 +7,7 @@
77

88
from . import hdf5
99

10-
__version__ = '0.3.3'
10+
__version__ = '0.3.4'
1111

1212
_object_name_pattern = re.compile('[a-zA-Z][a-zA-Z0-9_]*')
1313

sdf/dsres.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2017 Dassault Systemes. All rights reserved.
1+
# Copyright (c) 2019 Dassault Systemes. All rights reserved.
22

33
import numpy as np
44
from sdf import Group, Dataset
@@ -130,9 +130,9 @@ def _load_mat(filename):
130130
pass
131131

132132
if d == 1:
133-
data = cons[c, 0]
133+
data = cons[c, 0] * s
134134
else:
135-
data = traj[c, :]
135+
data = traj[c, :] * s
136136

137137
if 'type' in info:
138138
if info['type'] == 'Integer' or 'Boolean':

sdf/hdf5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2017 Dassault Systemes. All rights reserved.
1+
# Copyright (c) 2019 Dassault Systemes. All rights reserved.
22

33
import h5py
44
import sdf

sdf/ndtable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2017 Dassault Systemes. All rights reserved.
1+
# Copyright (c) 2019 Dassault Systemes. All rights reserved.
22

33
from ctypes import c_double, c_void_p, c_int, byref, cdll
44
import numpy as np

sdf/units.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2017 Dassault Systemes. All rights reserved.
1+
# Copyright (c) 2019 Dassault Systemes. All rights reserved.
22

33
import math
44

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def readme():
1111

1212

1313
setup(name='SDF',
14-
version='0.3.3',
14+
version='0.3.4',
1515
description="Work with Scientific Data Format files in Python",
1616
long_description=readme(),
1717
url="https://github.com/ScientificDataFormat/SDF-Python",

tests/DoublePendulum.mat

339 KB
Binary file not shown.

0 commit comments

Comments
 (0)