#!/usr/bin/env python

import warnings
import runpy
try:
    import pathlib
except ImportError:  # python < 3
    import pathlib2 as pathlib

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"))
