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

Move coloring into pyout for pyout #242

Open
yarikoptic opened this issue Feb 12, 2025 · 0 comments
Open

Move coloring into pyout for pyout #242

yarikoptic opened this issue Feb 12, 2025 · 0 comments

Comments

@yarikoptic
Copy link
Member

yarikoptic commented Feb 12, 2025

As we decided to not mess with pyout

per our conversation:

  • let's take current format "conversion" symbols (e.g. !X) in the VALUE_TRANSFORMATION_MAP as the ultimate specification of how we color
  • we will use SummaryFormatter with enable_colors=False if it is pyout format
  • provide pyout style while based on conversion symbols per each column (as e.g. if '!N' in trans: or some dict over parsed out transformation). Consult https://github.com/dandi/dandi-cli/blob/master/dandi/support/pyout.py#L101 for some "ultimate" example of formatting
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

No branches or pull requests

1 participant