def _init_subj_data(self, subj_files):
try:<EOL><INDENT>if isinstance(subj_files, list):<EOL><INDENT>self.from_list(subj_files)<EOL><DEDENT>elif isinstance(subj_files, dict):<EOL><INDENT>self.from_dict(subj_files)<EOL><DEDENT>else:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT><DEDENT>except Exception as exc:<EOL><INDENT>raise Exception('<STR_LIT>') from exc<EOL><DEDENT>
Parameters
----------
subj_files: list or dict of str
    file_path -> int/str