armi.scripts.migration.m0_1_0_newDbFormat module

Migrate ARMI databases to newer versions.

Oftentimes, code changes cause databases from previous versions to become invalid, yet users still want to be able to load from the old cases. These scripts assist in converting old databases to new ones.

This is expected to be extended with version-dependent chains.

class armi.scripts.migration.m0_1_0_newDbFormat.ConvertDB2toDB3(stream=None, path=None)[source]

Bases: armi.scripts.migration.base.DatabaseMigration

Convert ARMI DB version 2 to DB version 3.

apply()[source]

Apply migration.

This is generally called from a subclass.