Skip to content

Restructure mock file#1994

Merged
axelboc merged 3 commits into
mainfrom
mock-file
Mar 24, 2026
Merged

Restructure mock file#1994
axelboc merged 3 commits into
mainfrom
mock-file

Conversation

@axelboc

@axelboc axelboc commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

Follows #1768 and #1770.

Last but not least, I restructure the mock file significantly so it's cleaner and more logical. The mock demo has grown organically since the project's inception and it was becoming a bit messy.

The mock demo not only demonstrates the H5Web viewer interface to end users — it's also used for development, automated testing, and as a form of documentation of supported HDF5, NeXus and NetCDF features for people who write HDF5 files. The goal is neither exhaustiveness nor end-to-end accuracy — it's to find a middle ground between all of these needs.

The main changes are as follows:

  • Consistent use of prefixes for grouping and faster scanning (e.g. group_, default_, etc.)
  • Fewer abbreviations (complex, boolean)
  • Single nexus group at the root
  • Same case as underlying NeXus features (e.g. NXdata, SILX_style)

image image image

image image

@axelboc

axelboc commented Mar 23, 2026

Copy link
Copy Markdown
Contributor Author

/approve

@axelboc
axelboc requested a review from loichuder March 23, 2026 10:41

@loichuder loichuder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💪

@axelboc
axelboc merged commit 348d75d into main Mar 24, 2026
13 checks passed
@axelboc
axelboc deleted the mock-file branch March 24, 2026 13:46
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.

2 participants