Skip to content

Sorting table columns if string raise an error (infinite loop) #93

@alejoe91

Description

@alejoe91
Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
ValueError: could not convert string to float: 'noise'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alessio/Documents/Codes/spike_sorting/spikeinterface/spikeinterface-gui/spikeinterface_gui/tools.py", line 215, in __lt__
    comp = float(self.text()) < float(other.text())
KeyboardInterrupt
Error in sys.excepthook:

Original exception was:
Error in sys.excepthook:

Original exception was:
Error in sys.excepthook:

Original exception was:
Error in sys.excepthook:

Original exception was:
Error in sys.excepthook:

Original exception was:
^CTraceback (most recent call last):
  File "/home/alessio/anaconda3/envs/si/lib/python3.10/site-packages/pyqtgraph/widgets/GraphicsView.py", line 137, in paintEvent
    return super().paintEvent(ev)
  File "/home/alessio/anaconda3/envs/si/lib/python3.10/site-packages/pyqtgraph/graphicsItems/TextItem.py", line 154, in boundingRect
    def boundingRect(self):
KeyboardInterrupt
^CTraceback (most recent call last):
  File "/home/alessio/anaconda3/envs/si/lib/python3.10/site-packages/pyqtgraph/graphicsItems/GraphicsWidget.py", line 58, in boundingRect
    def boundingRect(self):
KeyboardInterrupt

...

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