def find_outfiles(options):
    """Determine output file absolut locations and return them in a list."""
    if options.files == None:
        outfiles = lgf.find_newest(curr_dir + "/" + expr_mgmt.config_option_value("outdir"))
    else:
        outfiles = lgf.find_given(options.files.split(','))
    return outfiles
def find_outfiles(options):
    """Determine output file absolute locations and return them in a list."""

    # If files were not given, find the youngest output files for today's date.
    if options.files == None:
        outfiles = lgf.find_newest(curr_dir + "/" + expr_mgmt.config_option_value("outdir"))
    else:
        # should only get one file thanks to the check in parse_args
        outfiles = lgf.find_given(options.files.split(','))
    return outfiles
def find_outfiles(options):
    """Determine output file absolute locations and return them in a list."""

    # If files were not given, find the youngest output files for today's date.
    if options.files == None:
        # This will return a list of one element
        outfiles = lgf.find_newest(curr_dir + "/" + expr_mgmt.config_option_value("outdir"))
    else:
        # This should only return a list with one file thanks to the check in parse_args
        outfiles = lgf.find_given(options.files.split(","))
    # This test expects only one output file.
    return outfiles