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 Check if overlays file exists before unlinking. #431

Merged
merged 1 commit into from
Feb 19, 2022
Merged

Conversation

cchen23
Copy link
Contributor

@cchen23 cchen23 commented Feb 19, 2022

When a new flattened surface is imported into pycortex, the overlays.svg of the subject is removed from pycortex store. However, this produces an error if the subject does not yet have an overlays.svg file. This PR checks if the overlays.svg file exits, and only attempts to delete the file if it already exists.

@mvdoc mvdoc changed the title BUG Check if overlays file exists before unlinking. FIX Check if overlays file exists before unlinking. Feb 19, 2022
@mvdoc mvdoc merged commit 6869228 into main Feb 19, 2022
@TomDLT TomDLT deleted the overlay_unlinking branch March 25, 2022 18:47
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