@staticmethod
def get_nelect(filename='OUTCAR', lines=None):
    '\n        Returns the number of electrons in the simulation\n\n        Args:\n            filename (str): OUTCAR filename\n            lines (list/None): lines read from the file\n\n        Returns:\n            float: The number of electrons in the simulation\n\n        '
    nelect_trigger = 'NELECT'
    lines = _get_lines_from_file(filename=filename, lines=lines)
    for (i, line) in enumerate(lines):
        line = line.strip()
        if (nelect_trigger in line):
            return float(line.split()[2])
Returns the number of electrons in the simulation

Args:
    filename (str): OUTCAR filename
    lines (list/None): lines read from the file

Returns:
    float: The number of electrons in the simulation
@staticmethod
def get_nelect(filename='OUTCAR', lines=None):
    '\n        Returns the number of electrons in the simulation\n\n        Args:\n            filename (str): OUTCAR filename\n            lines (list/None): lines read from the file\n\n        Returns:\n            float: The number of electrons in the simulation\n\n        '
    nelect_trigger = 'NELECT'
    lines = _get_lines_from_file(filename=filename, lines=lines)
    for (i, line) in enumerate(lines):
        line = line.strip()
        if (nelect_trigger in line):
            return float(line.split()[2])