#!python

import warnings
import pathlib
import runpy

this = pathlib.Path(__file__)

warnings.simplefilter('always', DeprecationWarning)
warnings.warn("gwdetchar no longer supports Matlab omega scans, "
              "this tool has been renamed gwdetchar-omega-batch, "
              "{.name} will be removed in a future release".format(this),
              DeprecationWarning)

runpy.run_path(str(this.parent / "gwdetchar-omega-batch"))
