#!/usr/bin/env python

# TODO: refactor rundap.py so that it looks more like the other
# scripts...

import sys
if sys.version < '3':
    raise ValueError('Must use python3 to run MaNGA DAP.')

validation=True
try: 
    from mangadap.scripts import rundap
except ImportError as e: 
    validation = False
    print('ImportError: {0}'.format(str(e)))
if validation:
    rundap = rundap.rundap(console=True)

