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

[FIX] Fix bug in resample_images #60

Merged
merged 1 commit into from
May 20, 2022
Merged

Conversation

VinceBaz
Copy link
Member

This PR fixes Issue#24: a bug in resample_images that would happen when a single str or os.PathLike object specifies the path to single-hemispheric src or trg images. This bug would happen when resample_imageswould try to load the gifti file of the un-transformed map. A call to the tranforms._check_hemi function fixes the issue.

This commit fixes a bug in `resample_images` that would happen when a single str or os.PathLike object specifies the path to single-hemispheric `src` or `trg` images. This bug would happen when `resample_images`would try to load the gifti file of the un-transformed map. A call to the `tranforms._check_hemi` function fixes the issue.
@VinceBaz VinceBaz merged commit 185444b into netneurolab:main May 20, 2022
github-actions bot pushed a commit that referenced this pull request May 20, 2022
[FIX] Fix bug in resample_images 185444b
github-actions bot pushed a commit to VinceBaz/neuromaps that referenced this pull request Jul 20, 2022
@VinceBaz VinceBaz deleted the fix-tuple branch August 1, 2022 20:18
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.

[BUG] resample_images() function raises an error when src or trg parameters are not tuples
1 participant