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

Issue 20: be more careful with file paths. #25

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

ohexel
Copy link

@ohexel ohexel commented Dec 3, 2024

Check if provided .sup file name includes '/' or ''. If so, extract basename. Be more careful when creating file names and file paths inside create_output_fn_dir().

A more comprehensive rework of create_output_fn_dir() maybe later.

Check if provided .sup file name includes '/' or '\'. If so,
 extract basename. Be more careful when creating file names and
file paths inside `create_output_fn_dir()`.
@tomthe
Copy link
Member

tomthe commented Dec 4, 2024

Looks good. I hope it still works in all cases it worked before?

@tomthe tomthe merged commit 07362fa into MPIDR:main Dec 4, 2024
1 check passed
@ohexel
Copy link
Author

ohexel commented Dec 4, 2024

If you're asking if I have run any sort of systematic tests, I have not. I ran it with create_sup_file() and a two-level directory structure and it worked.

@ohexel ohexel deleted the workaround-issue-20 branch December 4, 2024 12:55
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