def _store_dicom_paths(self, folders):
if isinstance(folders, str):<EOL><INDENT>folders = [folders]<EOL><DEDENT>for folder in folders:<EOL><INDENT>if not os.path.exists(folder):<EOL><INDENT>raise FolderNotFound(folder)<EOL><DEDENT>self.items.extend(list(find_all_dicom_files(folder)))<EOL><DEDENT>
Search for dicoms in folders and save file paths into
        self.dicom_paths set.

        :param folders: str or list of str