We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3472ced commit cd6dc9dCopy full SHA for cd6dc9d
suite2p/gui/reggui.py
@@ -563,7 +563,7 @@ def setup_views(self):
563
self.vside.setAspectLocked(lock=True, ratio=self.xyrat)
564
565
self.nframes = ops["nframes"]
566
- self.time_step = 1. / ops["fs"] * 1000 / 5 # 5x real-time
+ self.time_step = int(1. / ops["fs"] * 1000 / 5) # 5x real-time (make sure it's casted)
567
self.frameDelta = int(np.maximum(5, self.nframes / 200))
568
self.frameSlider.setSingleStep(self.frameDelta)
569
self.currentMovieDirectory = QtCore.QFileInfo(self.filename).path()
0 commit comments