jorge-ramirez-upm / RepTate

RepTate (Rheology of Entangled Polymers: Toolkit for Analysis of Theory & Experiment)
https://reptate.readthedocs.io/
GNU General Public License v3.0
25 stars 7 forks source link

Error "TypeError: resizeSection(self, int, int): argument 2 has unexpected type 'float'" #149

Closed jorge-jardim closed 8 months ago

jorge-jardim commented 10 months ago

By clicking in any icon of the app I get the following error

20231031 092806 RepTate ERROR: File "C:\Users\jorgem63.conda\envs\RepTate\Lib\site-packages\RepTate\gui\QApplicationManager.py", line 187, in
self.actionLVE.triggered.connect(lambda: self.handle_new_app('LVE'))
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jorgem63.conda\envs\RepTate\Lib\site-packages\RepTate\gui\QApplicationManager.py", line 466, in handle_new_app
self.Qopen_app(app_name,
File "C:\Users\jorgem63.conda\envs\RepTate\Lib\site-packages\RepTate\gui\QApplicationManager.py", line 456, in Qopen_app
newapp.createNew_Empty_Dataset(
File "C:\Users\jorgem63.conda\envs\RepTate\Lib\site-packages\RepTate\gui\QApplicationWindow.py", line 1563, in createNew_Empty_Dataset
ds = QDataSet(name=ds_name, parent=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jorgem63.conda\envs\RepTate\Lib\site-packages\RepTate\gui\QDataSet.py", line 233, in init
hd.resizeSection(0, w)
TypeError: resizeSection(self, int, int): argument 2 has unexpected type 'float'

jorge-ramirez-upm commented 8 months ago

I think this problem has been solved in new versions