svoice/data/data.py [32:44]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        mix_json = os.path.join(json_dir, 'mix.json')
        s_jsons = list()
        s_infos = list()
        sets_re = re.compile(r's[0-9].json')
        for s in os.listdir(json_dir):
            if sets_re.search(s):
                s_jsons.append(os.path.join(json_dir, s))

        with open(mix_json, 'r') as f:
            mix_infos = json.load(f)
        for s_json in s_jsons:
            with open(s_json, 'r') as f:
                s_infos.append(json.load(f))
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



svoice/data/data.py [75:86]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        mix_json = os.path.join(json_dir, 'mix.json')
        s_jsons = list()
        s_infos = list()
        sets_re = re.compile(r's[0-9].json')
        for s in os.listdir(json_dir):
            if sets_re.search(s):
                s_jsons.append(os.path.join(json_dir, s))
        with open(mix_json, 'r') as f:
            mix_infos = json.load(f)
        for s_json in s_jsons:
            with open(s_json, 'r') as f:
                s_infos.append(json.load(f))
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



