ufo-kit / tofu

Helper scripts for tomographic reconstruction using the ufo-core framework
GNU Lesser General Public License v3.0
18 stars 9 forks source link

tofu flow Qt float issue #130

Closed tfarago closed 1 year ago

tfarago commented 1 year ago

In PyQt 5.15+ the GUI doesn't work because at many places of the qtpynodeeditor, Qt complains that it can't use float as argument and needs int. @MarcusZuber do you know a quick fix for this or do I need to make a PR for the editor?

MarcusZuber commented 1 year ago

Not the most elegant way, but could you try to set typing.TYPE_CHECKING to False. This yould also help PyQt5.sip.enableoverflowchecking(False)().

tfarago commented 1 year ago

First didn't help and second doesn't know about sip...

tfarago commented 1 year ago

For Python3.9+ one needs to install qtpynodeeditor==0.3.0