vaspparser.vasp.vasprun.clean_key

Contents

vaspparser.vasp.vasprun.clean_key#

vaspparser.vasp.vasprun.clean_key(a, remove_char=' ')[source]#

Replaces blanck spaces from a string for a dictionary key with “_”

Parameters:
  • a (str) – String to be cleaned

  • remove_char (str) – Character to be replaced

Returns:

The clean string

Return type:

str