armi.bookkeeping.visualization.entryPoint module¶
Entry point for producing visualization files.
-
class
armi.bookkeeping.visualization.entryPoint.VisFileEntryPoint[source]¶ Bases:
armi.cli.entryPoint.EntryPointCreate visualization files from database files.
-
name= 'vis-file'¶
-
description= 'Convert ARMI databases in to visualization files'¶
-
_FORMAT_VTK= 'vtk'¶
-
_FORMAT_XDMF= 'xdmf'¶
-
_SUPPORTED_FORMATS= {'vtk', 'xdmf'}¶
-
addOptions()[source]¶ Add additional command line options.
Values of options added to
self.parserwill be available onself.args. Values added withcreateOptionFromSettingwill override the setting values in the settings input file.See also
createOptionFromSetting()A method often called from here to creat CLI options from application settings.
argparse.ArgumentParser.add_argument()Often called from here using
self.parser.add_argumentto add custom argparse arguments.
-
parse(args)[source]¶ Process user input.
Strings are parsed against some regular expressions and saved back to their original locations in the
self.argsnamespace for later use.
-
invoke()[source]¶ Body of the entry point.
This is an abstract method, and must must be overridden in sub-classes.
-
settingsArgument= None¶
-