def convert_to_scl(spec, scl_options):
    """Convert spec into SCL-style spec file using `spec2scl`.

    Args:
        spec: (str) a spec file
        scl_options: (dict) SCL options provided
    Returns:
        A converted spec file
    """
    scl_options['skip_functions'] = scl_options['skip_functions'].split(',')
    scl_options['meta_spec'] = None
    convertor = SclConvertor(options=scl_options)
    return str(convertor.convert(spec))
def convert_to_scl ( spec , scl_options ) : scl_options [ 'skip_functions' ] = scl_options [ 'skip_functions' ] . split ( ',' ) scl_options [ 'meta_spec' ] = None convertor = SclConvertor ( options = scl_options ) return str ( convertor . convert ( spec ) )
Convert spec into SCL-style spec file using `spec2scl`.

    Args:
        spec: (str) a spec file
        scl_options: (dict) SCL options provided
    Returns:
        A converted spec file