def __init__(self, opt, shared=None):
    opt = copy.deepcopy(opt)
    opt['datafile'] = _path(opt, '')
    opt['cands_datafile'] = opt['datafile']
    self.fold = DatatypeHelper.fold(opt['datatype'])
    super().__init__(opt, shared)
def __init__(self, opt, shared=None):
    opt = copy.deepcopy(opt)
    opt['datafile'] = _path(opt, )
    opt['cands_datafile'] = opt['datafile']
    self.fold = DatatypeHelper.fold(opt['datatype'])
    super().__init__(opt, shared)