prokbert.general_utils.get_non_empty_files
- prokbert.general_utils.get_non_empty_files(start_path: str, extensions: tuple = ('.fasta', '.fna'))
Generator that yields non-empty files from a specified directory and its subdirectories based on the given extensions.
- Parameters
- Returns
Yields filenames that match the specified extensions and are non-empty.
- Return type