def _find_nml(self):
nml_start = None<EOL>nml_end = None<EOL>for i in range(len(self.lines)):<EOL><INDENT>if self.lines[i].strip().startswith("<STR_LIT:&>"):<EOL><INDENT>nml_start = i<EOL><DEDENT>if self.lines[i].strip().startswith("<STR_LIT:/>"):<EOL><INDENT>nml_end = i<EOL><DEDENT><DEDENT>assert (<EOL>nml_start is not None and nml_end is not None<EOL>), "<STR_LIT>".format(self.filepath)<EOL>return nml_end, nml_start<EOL>
Find the start and end of the embedded namelist.

Returns
-------
(int, int)
    start and end index for the namelist