def __new__(cls, outputs, *args, **kwargs):
    if isinstance(outputs, string_types):
        outputs = get_filenames_from_glob_pattern(outputs)
    ret = super(DatasetSeries, cls).__new__(cls)
    try:
        ret._pre_outputs = outputs[:]
    except TypeError:
        raise YTOutputNotIdentified(outputs, {})
    return ret
def __new__(cls, outputs, *args, **kwargs):
    if isinstance(outputs, string_types):
        outputs = get_filenames_from_glob_pattern(outputs)
    ret = super(DatasetSeries, cls).__new__(cls)
    try:
        ret._pre_outputs = outputs[:]
    except TypeError:
        raise YTOutputNotIdentified(outputs, {})
    return ret