@staticmethod
def get_highest_enmax(vasp_potcar):
    """Make a list of all ENMAX values in the POTCAR, return the highest among them.

        :param vasp_potcar: VASP POTCAR file
        :type vasp_potcar: str (with linebreaks)
        :return: highest ENMAX value from the POTCAR
        :rtype: float
        """
    list_of_enmax = []
    for line in vasp_potcar.split('\n'):
        if 'ENMAX' in line:
            list_of_enmax.append(float(line.strip().split()[2].strip(';')))
    return max(list_of_enmax)
