Skip to content

Commit ff930d2

Browse files
authored
Merge pull request #3341 from alejoe91/interpolation-serialization
Make InterpolateMotionRecording not JSON-serializable
2 parents 24edb69 + 8c80ecb commit ff930d2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/spikeinterface/sortingcomponents/motion/motion_interpolation.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,10 @@ def __init__(
386386
)
387387
self.add_recording_segment(rec_segment)
388388

389+
# this object is currently not JSON-serializable because the Motion obejct cannot be reloaded properly
390+
# see issue #3313
391+
self._serializability["json"] = False
392+
389393
self._kwargs = dict(
390394
recording=recording,
391395
motion=motion,

0 commit comments

Comments
 (0)