Skip to content

verdi import should automatically migrate export files  #2739

Closed
@ltalirz

Description

currently, when trying to import an export file that was generated with an older format, I get the error message

Critical: /.../SSSP_efficiency_pseudos.aiida cannot be imported: Export file version is 0.3, can import only version 0.4
Use 'verdi export migrate' to update this export file.

From a user perspective, most of the time you simply want the data imported, so I propose that, by default, this happens automatically (with migration in memory).
We can add an option to disable this automatic migration for people who don't like it for some reason (large export file perhaps, memory issues).

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions