Skip to content

Double left click in deepd3-inference not working #15

@dominicadt

Description

@dominicadt

Hello,

I am having a similar issue that was referenced to in issue #5. I am testing the deepd3-inference GUI using your benchmark dataset and models.

I can load the data and segment the dendrites and spines fine, but when I double click to open the supplementary GUI for editing the annotations I get an error about unexpected floats:

    Traceback (most recent call last):
      File "C:\Code\DeepD3\DeepD3_py310\lib\site-packages\deepd3\inference\gui.py", line 829, in testROIbuilding
        self.testROIwindow = testROI(self.S.stack[z-3:z+3, y-h//2:y+h//2, x-w//2:x+w//2],
      File "C:\Code\DeepD3\DeepD3_py310\lib\site-packages\deepd3\inference\gui.py", line 518, in __init__
        self.gaussianFilter.setMinimum(0.0)
      File "C:\Code\DeepD3\DeepD3_py310\lib\site-packages\deepd3\inference\gui.py", line 479, in setMinimum
        return super(DoubleSlider, self).setMinimum(value * self._multi)
    TypeError: setMinimum(self, a0: int): argument 1 has unexpected type 'float'

My current versions and environment details are

python 3.10.8
PyQt5 5.15.11
PyQt5-Qt5 5.15.2
PyQt5_sip 12.18.0
pyqtgraph 0.14.0
Windows 11 Version 24H2

I tried older version of PyQt5 (oldest I tried was 5.15.8), but I still got the same error.

I would appreciate any support or suggestions. Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions