drugforge.data.util.utils.check_filelist_has_elements
- drugforge.data.util.utils.check_filelist_has_elements(filelist: glob | list, tag: str | None = 'untagged') None[source]
Check that a glob or list of files actually contains some elements - if not, raise an error.
- Parameters:
filelist (Union[glob.glob, List]) – List of files or glob
tag (Optional[str]) – Tag to add to error message if list is empty
- Return type:
None