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

[BUG] Name field appears in the attrs['cfg'] of the HDF5 output #31

Open
francois-drielsma opened this issue Nov 11, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@francois-drielsma
Copy link
Contributor

Describe the bug
In the file['info'].attrs['cfg'] field of the output HDF5 files, there are spurious name attributes in each of the post blocks that do not appear in the original configuration, e.g.:

  topology_threshold:
    ke_thresholds:
      4: 50
      default: 25
    name: !!python/object/apply:numpy.core.multiarray.scalar
    - !!python/object/apply:numpy.dtype
      args:
      - U18
      - false
      - true
      state: !!python/tuple
      - 3
      - <
      - null
      - null
      - null
      - 72
      - 4
      - 8
    - !!binary |
      dAAAAG8AAABwAAAAbwAAAGwAAABvAAAAZwAAAHkAAABfAAAAdAAAAGgAAAByAAAAZQAAAHMAAABo
      AAAAbwAAAGwAAABkAAAA

To Reproduce
Run a SPINE .cfg files which contains a post-processor, and a write block, take a look at the output HDF5 file.

Expected behavior
This configuration should only contain keys which appear in the original configuration passed to SPINE.

Code base
Provide the following:

  • SPINE release 0.1.0+ (generalized)
@francois-drielsma francois-drielsma added the bug Something isn't working label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant