-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Added more functions to the FSLeyes plugin #2581
Conversation
Will be inherited to all SCT function panel
WIP: update other SCT functions panels
I have tested it on MACOSX. It works pretty good but there are a few problems:
|
@lrouhier thanks for the feedback
i'm still working on a major refactoring-- in the future, the overlay order will not be used. We will follow the approach already implemented in propseg, deepseg_sc and deepseg_gm
hum... do you also see that in propseg panel? what OS are you using? does the terminal show any relevant error/warning? |
Perfect because these three worked really well!
I am on MAcOSX Catalina with Fsleyes 0.27.1. There are no errors in the terminal. However, the display is working perfectly fine for sct_propseg... |
good to know. i will continue the refactoring and let you know when ready to be fully tested |
I tested it outside of docker everything work except the citation, explanation and logo display (same issue as yesterday on the aesthetic). It does fix the fact that the plugin was not responsive in docker, However there still all the warning from opengl reported in #2587. I think the warning should be a separate issue though, it seems to come from a problem between fsleyes and Pyopengl. |
Agreed-- this is a docker-specific issue. |
where/how did you test it? with what version of FSLeyes and which commit? |
version: git-jca/1914-fsleyes-b228ab9160a7f27a55c0c6f6822dd5c22de1964d I tested it by opening fsleyes ( |
I tested the plugin (commit ) using FSLeyes 0.31.0 (package install) as well as FSLeyes 0.30.0 (conda install), under OSX Mojave, and did not observe anything wrong with the logo and text. So, @lrouhier i will follow up with you internally to test it directly on your station. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. All other tests worked for me.
The purpose of this PR is to add more SCT functions to the FSLeyes plugin. For more info, see the original PR: #2339
Useful doc for Python's wx module (used by FSLeyes): https://wxpython.org/presentations/OSCON2003/wxPython-OSCON2003-v5.pdf
Fixes #1914
This PR also fixes another issue related to the non-existence of PYTHONHOME variable in our Docker container. Fixes #2587