Skip to content

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.

3 participants