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

ENH: Add classes for CommandLine interfaces with input passed via env or stdin #2493

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ashgillman
Copy link
Contributor

Adds StdInCommandLine and EnvironmentInputCommandLine

What is this?

I have implemented this for some custom Interfaces that I have had to create. They wrapped scripts that either took inputs as environment variables, or were interactive scripts that prompted the user and asked for input via stdin.

I included a basic test case (using sed the stream editor) to demonstrate how they are used.

I'm interested to hear what the maintainers think about these changes, since they don't actually support any of the Interfaces within Nipype. I am currently just maintaining the changes in parallel to development.

… or stdin

Adds StdInCommandLine and EnvironmentInputCommandLine
@ashgillman
Copy link
Contributor Author

Comments/criticisms welcome

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

Successfully merging this pull request may close these issues.

None yet

2 participants