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

Extension Loading Failure on Linux Machine Due to Unused Import #26

Open
eslam69 opened this issue Apr 5, 2024 · 0 comments
Open

Extension Loading Failure on Linux Machine Due to Unused Import #26

eslam69 opened this issue Apr 5, 2024 · 0 comments

Comments

@eslam69
Copy link

eslam69 commented Apr 5, 2024

The instantiation failure of the CrownSegmentation module in Slicer is attributed to the following line:

from CondaSetUp import CondaSetUpCall,CondaSetUpCallWsl

It is noted that only CondaSetUpCallWsl is utilized from this import. A potential resolution involves relocating the import statement to the scope where it is used, specifically within the else statement's scope:
else : # if windows system
# The code is run on wsl into an environment 'shapeaxi'
self.conda_wsl = CondaSetUpCallWsl()

Should I proceed to fix this issue by submitting a PR?

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