Skip to content

util to convert the masks to bool + ruff bump#319

Open
TeunHuijben wants to merge 2 commits into
royerlab:mainfrom
TeunHuijben:mask-bool-conversion-util
Open

util to convert the masks to bool + ruff bump#319
TeunHuijben wants to merge 2 commits into
royerlab:mainfrom
TeunHuijben:mask-bool-conversion-util

Conversation

@TeunHuijben

@TeunHuijben TeunHuijben commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

The latest version of tracksdata stores masks as booleans in a GEFF. But previously exported GEFFs are saved as uint64, which causes memory to explode upon loading.

This PR implements a utility that converts the mask elements to booleans, either duplicating the geff or doing so in place.

Sorry for doing the rough stuff as well in this PR, but GitHub CI takes the latest ruff, so I had to be compliant.

@TeunHuijben TeunHuijben changed the title util to convert the masks from uint64 to bool util to convert the masks to bool + ruff bump Jul 24, 2026
@TeunHuijben
TeunHuijben requested a review from JoOkuma July 24, 2026 21: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.

1 participant