Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alejoe91 opened this issue Jan 24, 2025 · 0 comments
Open

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

alejoe91 opened this issue Jan 24, 2025 · 0 comments

Comments

@alejoe91
Copy link
Member

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

...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant