montepy.data_inputs.data_parser module#

Functions:

parse_data(input)

Parses the data input as the appropriate object if it is supported.

montepy.data_inputs.data_parser.parse_data(input: Input | str)#

Parses the data input as the appropriate object if it is supported.

Parameters:

input (Union[Input, str]) – the Input object for this Data input

Returns:

the parsed DataInput object

Return type:

DataInput