namespace yoda::script_helpers

yoda::script_helpers

Functions

Name
defparse_x2y_args(args args, xextns xextns, yextns yextns)
deffilter_aos(aos aos, match_re match_re =None, unmatch_re unmatch_re =None)

Functions Documentation

function parse_x2y_args

def parse_x2y_args(
    args args,
    xextns xextns,
    yextns yextns
)
Helper function for working out input and output filenames for YODA
converter scripts, where the output name is generated by replacing the input
file extension (xextn) with the output one (yextn), if there are exactly two
arguments and the second arg is consistent with an output name. The x/yextn
arguments should include the leading dot.

function filter_aos

def filter_aos(
    aos aos,
    match_re match_re =None,
    unmatch_re unmatch_re =None
)

Updated on 2022-08-08 at 20:05:55 +0100