def make_a_condor_job(inputs, opts):
    """Make and submit a condor job for the pipeline

    Parameters
    ----------
    inputs: argparse.Namespace
        Namespace objects containing command line arguments
    """
    from ..condor import Dag, DataFindNode, VarahaNode, PESummaryNode
    MainDag = Dag(inputs)
    MainJob = VarahaNode(inputs, opts, MainDag.output_directories, MainDag.
        dagman)
    PESummaryJob = PESummaryNode(inputs, MainDag.output_directories,
        MainDag.dagman)
    if inputs.frame_files == {}:
        DataFindJob = DataFindNode(inputs, MainDag.output_directories,
            MainDag.dagman)
        DataFindJob.add_child(MainJob.job)
    MainJob.add_child(PESummaryJob.job)
    MainDag.build()
    if inputs.condor_submit:
        MainDag.build_submit()
    else:
        MainDag.build()
