#!/usr/bin/env python
import sys

from abipy.data import AbinitFilesGenerator


class MyGenerator(AbinitFilesGenerator):
    """This class generates the output files used in the unit tests and in the examples."""

    # Subclasses must define the following class attributes:
    # List of pseudos in (basenames in abipy/data/pseudos
    pseudos = ["14si.pspnc"]

    # Mapping old_name --> new_name for the output files that must be preserved.
    files_to_save = {"out_DS3_MDF.nc": "tbs_4o_DS2_MDF.nc"}


if __name__ == "__main__":
    sys.exit(MyGenerator().run())
