parse_data#

montepy.data_inputs.data_parser.parse_data(input: Input | str, problem: MCNP_Problem = None, *, jit_parse: bool = True)#

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

Parameters:
Returns:

the parsed DataInput object

Return type:

DataInput