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: Set prog name to fitlins, regardless of which CLI program was called #350

Merged
merged 1 commit into from
Mar 28, 2022

Conversation

adelavega
Copy link
Collaborator

This makes it so that fitlins is always display as the program name when the ArgParse throws an error.

This is needed because the way I call Fitlins (from neuroscout-cli), it will display "neuroscout" as the name of the program, which is confusing.

neuroscout passes unrecognized arguments forward to fitlins, and it's useful to get a direct error from fitlins' ArgParse to understand how to correct the call to neursocout-cli.

@adelavega adelavega changed the title set prog name to fitlins ENH: Set prog name to fitlins, regardless of which CLI program was called Mar 28, 2022
@adelavega adelavega mentioned this pull request Mar 28, 2022
@effigies effigies merged commit a718ecd into poldracklab:master Mar 28, 2022
@adelavega adelavega deleted the fix/prog branch March 29, 2022 16:05
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.

2 participants