-
Notifications
You must be signed in to change notification settings - Fork 34
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
Api File Naming #269
Api File Naming #269
Conversation
resolves #258 |
@arokem if the dmriprep files already have the sub-XX_sess-XX prefix like in BIDs format shown below, then we do not need this pull request, the api already grabs this prefix from the file. |
Oh yeah - let's leave the output like the input. But in our own work, let's make sure the inputs are fully spelled out. I think that means we can close this? |
No on closing. I also moved common inclusions for file names into the fname function. This won't change functionality but makes the code nicer. For example, Instead of having this in every function:
You can instead use the include_track argument when you want to include that information in the file name: |
I rebased so now this PR only includes the convenient function and some pep8 fixes. However, #268 would use this function, so we should not merge both without updating and rebasing one on top of the other. |
LGTM! I love it when a PR removes more lines of code than it adds :-) |
Show session and subject in all file names. Moved common inclusions for file names into fname function. Some pep8 fixes.