-
Notifications
You must be signed in to change notification settings - Fork 58
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
ml
not found in many neurodesktop terminals
#209
Comments
Ah sorry it might be a feature according to this:
|
Dear @gllmflndn - thank you for opening this issue :) Yes, you are correct, this is actually a feature. The idea is that if users open a tool through the application menu they only get this tool and nothing else. In nipype I enabled to load other tools as well. What do you think, would it be easier for users if they can combine tools like what you tried from any container? Or should we keep the separation and add a more descriptive error message? |
With the principle of least surprise, I thought there would be no difference between opening a terminal and typing Perhaps none of this matters but I came across it when trying to execute the nipype example that is displayed from the |
yes, good points - I see what I can do to make these two things behave identically. Currently opening a tool via the menu gives you a "foolproof" way to just use the tool. Using the tools via ml from a normal terminal is a more advanced usecase. But I totally agree, that it would be easier if there was only one workflow and the behaviour identical. I think it's possible. |
@aswinnarayanan - my initial idea is to use the same mechanism in the menu system (ml) instead of singularity shell - this would make the behaviour identical. It comes with the downside that if a user tries to debug the container (e.g. running the python inside the container will now call the desktop python) we need to write a piece of documentation that shows how to access the isolated container? Any other things you foresee? Should we add this feature to neurocommand and control it via an environment variable so we are not breaking existing peoples workflows, but new updates will make it the default? |
Sounds like a good idea.
I'm trying to think where this could be an issue. This is only giving access to host applications that previously weren't accessible correct? I can't think of any downsides. We can also control/override this behaviour using the neurocommand config |
ml
ormodule
is not found in a neurodesktop terminal opened by several applications:Different error with mricron:
But it does work for nipype:
The text was updated successfully, but these errors were encountered: