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

Split resolution metadata #112

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Split resolution metadata #112

wants to merge 3 commits into from

Conversation

ceesem
Copy link
Collaborator

@ceesem ceesem commented Aug 4, 2023

The current implementation of data frame metadata using the df.attrs semi-functionality in pandas is useful, but it has a bug/decision that produces an exception when doing dataframe concatenations because some of the metadata is kept as a list. This PR changes the table metadata format to split x/y/z into different fields, similar to how it's actually kept and transmitted. This is a mild breaking change for those who use the voxel_resolution field right now (e.g. dash apps will need a one line fix in a few places), but I think it's useful to avoid a fairly cryptic error.

@ceesem ceesem requested a review from fcollman August 4, 2023 23:55
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