Skip to content

asdf info block display#2014

Open
sydduckworth wants to merge 5 commits intoasdf-format:mainfrom
sydduckworth:asdf_info_block_display
Open

asdf info block display#2014
sydduckworth wants to merge 5 commits intoasdf-format:mainfrom
sydduckworth:asdf_info_block_display

Conversation

@sydduckworth
Copy link
Copy Markdown
Contributor

Description

  • Added block table output which is optionally printed after the tree
  • Added show_blocks parameter to AsdfFile.info method which defaults to False
  • Added --show-blocks argument to info CLI command
  • Format matches the equivalent libasdf command

Tasks

  • run pre-commit on your machine
  • run pytest on your machine
  • Does this PR add new features and / or change user-facing code / API? (if not, label with no-changelog-entry-needed)
    • write news fragment(s) in changes/: echo "changed something" > changes/<PR#>.<changetype>.rst (see below for change types)
    • update relevant docstrings and / or docs/ page
    • for any new features, add unit tests
news fragment change types...
  • changes/<PR#>.feature.rst: new feature
  • changes/<PR#>.bugfix.rst: bug fix
  • changes/<PR#>.doc.rst: documentation change
  • changes/<PR#>.removal.rst: deprecation or removal of public API
  • changes/<PR#>.general.rst: infrastructure or miscellaneous change

* `info` now optionally prints a table containing block header metadata
  for each block in the source file
* Added `show_blocks` parameter to enable/disable block tables which
  defaults to `False`
@sydduckworth sydduckworth requested a review from a team as a code owner April 1, 2026 13:34
@sydduckworth sydduckworth requested a review from braingram April 1, 2026 13:37
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