def demo():
    """
    Test full pipeline, program #12471
    """
    import numpy as np
    import os
    from hsaquery import query, overlaps
    from grizli.pipeline import auto_script
    parent = query.run_query(box=None, proposid=[11359], instruments=[
        'WFC3', 'ACS'], extensions=['FLT'], filters=['G102', 'G141'], extra=[])
    extra = query.DEFAULT_EXTRA + ["TARGET.TARGET_NAME LIKE 'WFC3-ERSII-G01'"]
    tabs = overlaps.find_overlaps(parent, buffer_arcmin=0.1, filters=[
        'F098M', 'F140W', 'G102', 'G141'], proposid=[11359], instruments=[
        'WFC3'], extra=extra, close=False)
    import os
    HOME_PATH = os.getcwd()
    root = 'j033217-274236'
    from grizli.pipeline import auto_script
    auto_script.go(root=root, maglim=[19, 20], HOME_PATH=HOME_PATH,
        reprocess_parallel=True, s3_sync=False, run_fit=False,
        only_preprocess=False)
    from grizli.pipeline import auto_script
    HOME_PATH = '/Volumes/Pegasus/Grizli/Automatic'
    maglim = [19, 21]
    inspect_ramps = True
    manual_alignment = True
    reprocess_parallel = True
    is_parallel_field = False
