armi.cli.modify module

Search through a directory tree and modify ARMI settings in existing input file(s). All valid settings may be used as keyword arguments.

class armi.cli.modify.ModifyCaseSettingsCommand[source]

Bases: armi.cli.entryPoint.EntryPoint

Search through a directory tree and modify ARMI settings in existing input file(s). All valid settings may be used as keyword arguments.

Example

$ python -m armi modify –numProcessors=3 *.xml

name = 'modify'
addOptions()[source]

Hook method for adding additional command line options.

invoke()[source]

Body of the entry point.

This is an abstract method, and must must be overridden in sub-classes.

Returns

  • Implementations should return an exit code, or None, which is interpreted the

  • same as zero (successful completion).

settingsArgument = None