Skip to content

Commit 0fc812b

Browse files
Fix crash on old numpy versions.
1 parent 80b8672 commit 0fc812b

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,2 @@
11
Changes for this version of DIPLOMAT:
2-
- Added improved clustering algorithms.
3-
- New offset aware viterbi.
4-
- Refined frame filtering.
5-
- Improved UI startup times.
6-
- New up scaling frame mode supported, currently behind a CLI flag.
7-
- Fixes to offset domination checks.
8-
- Many additional minor tweaks and bug fixes.
2+
- Fix crash that occurs with older versions of numpy.

diplomat/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
A tool providing multi-animal tracking capabilities on top of other Deep learning based tracking software.
33
"""
44

5-
__version__ = "0.2.0"
5+
__version__ = "0.2.1"
66
# Can be used by functions to determine if diplomat was invoked through it's CLI interface.
77
CLI_RUN = False
88

diplomat/predictors/fpe/sparse_storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def pack(
126126
x_coords,
127127
y_coords,
128128
probs
129-
], dtype=self.mem_type, axis=0)
129+
], axis=0).astype(self.mem_type)
130130
return self
131131

132132
def unpack_unscaled(self):

0 commit comments

Comments
 (0)