src/coecms/cli/um.py
def validate_um_ancil(ctx, param, value):
    """
    Ensures an argument is a UM file
    """
    try:
        return mule.AncilFile.from_file(value)
    except:
        raise click.BadParameter(f'"{value}" does not seem to be a UM ancil file')

    Ensures an argument is a UM file
    
Ensures an argument is a UM file
Ensures an argument is a UM file
def validate_um_ancil(ctx, param, value):
    try:
        return mule.AncilFile.from_file(value)
    except:
        raise click.BadParameter(f'"{value}" does not seem to be a UM ancil file')
def validate_um_ancil ( ctx , param , value ) : try : return mule . AncilFile . from_file ( value ) except : raise click . BadParameter ( f'"{value}" does not seem to be a UM ancil file' )
Ensures an argument is a UM file
Ensures an argument is a UM file
"""
    Ensures an argument is a UM file
    """
ctx
param
value