Skip to content

Bwd compatibility for MeshDLRXXX broken between 3.2.x <-> 3.3.x #946

Description

@HugoStrand

Description

There are a few new h5 properties stored for the MeshDLRXXX types in version 3.3.x. This breaks backwards compatibility of reading h5 data stored using triqs 3.2.x.

Steps to Reproduce

  1. Store a DLR Green's function to h5 file using triqs/3.2.x
  2. Try to load the h5 file with triqs/3.3.x
  3. Crash..

Proposed solution

Add checks for the new data stored in the mesh types in 3.3.x and set them to default values if they are not present in the h5 file. (Discussed on the triqs quick updates meeting 2024-06-27).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions