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

Generalize the labels reference lookup for data frames #61

Merged
merged 1 commit into from
Jul 9, 2021

Conversation

yoda-vid
Copy link
Collaborator

@yoda-vid yoda-vid commented Jul 6, 2021

Main image setup supports loading labels reference files given as either CSV (to data frame) or JSON (to dict) format, but many other functions have expected JSON format. Extend support for CSV format by creating a simple wrapper function to convert labels reference files from either data frames or dict to lookup references. Volume stats, region export, and region development now support CSV in addition to JSON reference files.

Main image setup supports loading labels reference files given as either CSV (to data frame) or JSON (to dict) format, but many other functions have expected JSON format. Extend support for CSV format by creating a simple wrapper function to convert labels reference files from either data frames or dict to lookup references. Volume stats, region export, and region development now support CSV in addition to JSON reference files.
@yoda-vid yoda-vid added the enhancement New feature or request label Jul 6, 2021
@yoda-vid yoda-vid merged commit d5b41c8 into master Jul 9, 2021
@yoda-vid yoda-vid added this to the v1.5.0 milestone Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant