Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

FIX allow any character in mask name #533

Merged
merged 1 commit into from
Apr 20, 2024
Merged

Conversation

mvdoc
Copy link
Contributor

@mvdoc mvdoc commented Apr 12, 2024

The regex in _find_mask only allowed word characters in the name, so a mask name such as mask_v1+v2+v3.nii.gz would not be recognized.

This PR makes the regex more general. However, there's an argument to be made whether we should allow "+" in mask filenames. If we don't want, then we should enforce proper filenames in cortex.db.save_mask.

@mvdoc mvdoc merged commit 2e654e0 into gallantlab:main Apr 20, 2024
7 checks passed
@mvdoc mvdoc deleted the fix/findmask branch April 20, 2024 23:53
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant