Open JoaoPeriquito opened 1 year ago
Hi Joao - yes I am doing some restructure of wezel. This should work
from wezel.displays import TableDisplay
If you come across any more issues like this I can also fix them. Just let me know when you are done with the iBEAt folder and then I will make any necessary changes
Prof. Steven Sourbron, PhD Chair in Medical Imaging Physics University of Sheffield, UK https https://www.sheffield.ac.uk/medicine/people/iicd/steven-sourbron://www.sheffield.ac.uk/medicine/people/iicd/steven-sourbron https://www.sheffield.ac.uk/medicine/people/iicd/steven-sourbron Sheffield abdominal imaging research page https://www.sheffield.ac.uk/medicine/research/research-themes/medical-imaging/medical-imaging-research/abdominal-imaging Open source initiative in perfusion imaging http://www.osipi.org Magnetic resonance imaging biomarkers for chronic kidney disease https://renalmri.org/
On Wed, 15 Mar 2023 at 11:20, JoaoPeriquito @.***> wrote:
I am having an import problem when I initiate Wezel with the ibeat menu. I updated Wezel to the latest version - "development branche" and performed an editable install
File "c:\Users\md1jdsp\Documents\GitHub\iBEAt\exec.py", line 26, in from menu.steven import segment_menu, aboutmenu File "C:\Users\md1jdsp\Documents\GitHub\iBEAt.venv\Lib\site-packages\shiboken2\files.dir\shibokensupport feature_.py", line 142, in
import return original_import(name, args, *kwargs) File "c:\Users\md1jdsp\Documents\GitHub\iBEAt\menu\steven.py", line 2, in from wezel.widgets import TableDisplay ImportError: cannot import name 'TableDisplay' from 'wezel.widgets' (C:\Users\md1jdsp\Documents\GitHub\wezel\src\wezel\widgets_init.py)
— Reply to this email directly, view it on GitHub https://github.com/QIB-Sheffield/wezel/issues/79, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOFKA2C37GZ3HU6BZQBPKTW4GQYRANCNFSM6AAAAAAV3VGZUA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I am having an import problem when I initiate Wezel with the ibeat menu. I updated Wezel to the latest version - "development branche" and performed an editable install
File "c:\Users\md1jdsp\Documents\GitHub\iBEAt\exec.py", line 26, in
from menu.steven import segment_menu, about_menu
File "C:\Users\md1jdsp\Documents\GitHub\iBEAt.venv\Lib\site-packages\shiboken2\files.dir\shibokensupport__feature.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "c:\Users\md1jdsp\Documents\GitHub\iBEAt\menu\steven.py", line 2, in
from wezel.widgets import TableDisplay
ImportError: cannot import name 'TableDisplay' from 'wezel.widgets' (C:\Users\md1jdsp\Documents\GitHub\wezel\src\wezel\widgets\ init__.py)