Skip to content

Allow dotted paths in imagepath#5

Open
lukasugar wants to merge 1 commit into
Sllambias:mainfrom
lukasugar:main
Open

Allow dotted paths in imagepath#5
lukasugar wants to merge 1 commit into
Sllambias:mainfrom
lukasugar:main

Conversation

@lukasugar
Copy link
Copy Markdown

Current code fails if path contains dots other than extension separator dot.

E.g.:
path/to/name.surname/file.txt returns surname/file.txt instead of txt.

path/to/name.surname/file.nii.gz returns surname/file.nii.gz instead of nii.gz.

By using Path we can successfully extract just the suffix.

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.

1 participant