armi.scripts.migration.m0_1_6_locationLabels module

Migrate ARMI settings that have alphanumeric location labels to new numeric mode.

class armi.scripts.migration.m0_1_6_locationLabels.ConvertAlphanumLocationSettingsToNum(stream=None, path=None)[source]

Bases: armi.scripts.migration.base.SettingsMigration

Convert old location label values to new style

fromVersion = '0.1.6'
toVersion = '0.1.7'
_applyToStream()[source]

Add actual migration code here in a subclass.

armi.scripts.migration.m0_1_6_locationLabels._modify_settings(cs)[source]
armi.scripts.migration.m0_1_6_locationLabels.getIndicesFromDIF3DStyleLocatorLabel(label)[source]

Convert a ring-based label like A2003B into 1-based ring, location indices.