Skip to content

Commit 431f60a

Browse files
authored
Merge pull request #37 from LaboratoireMecaniqueLille/v1.x.y
Released v1.5.10
2 parents f956199 + 91f59fd commit 431f60a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crappy/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# coding: utf-8
22

3-
__version__ = '1.5.9'
3+
__version__ = '1.5.10'

crappy/inout/t7Streamer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def get_stream(self) -> Optional[List[np.ndarray]]:
263263
data.shape[0]) / self._scan_rate
264264
self._n_points += data.shape[0]
265265

266-
return [t, data]
266+
return [t[:, np.newaxis], data]
267267

268268
def stop_stream(self) -> None:
269269
"""Stops the stream if it was started."""

crappy/modifier/demux.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@ def evaluate(self, data: Dict[str, np.ndarray]) -> Dict[str, Any]:
8080
if self._mean:
8181
data[self._time_label] = np.mean(data[self._time_label])
8282
else:
83-
data[self._time_label] = data[self._time_label][0]
83+
data[self._time_label] = np.squeeze(data[self._time_label])[0]
8484

8585
return data

0 commit comments

Comments
 (0)