pyiron_base.database.filetable.filter_function

pyiron_base.database.filetable.filter_function#

pyiron_base.database.filetable.filter_function(file_name: str) bool[source]#

Filter function to check if a file name contains “.h5”.

Parameters:

file_name (str) – The name of the file.

Returns:

True if the file name contains “.h5”, False otherwise.

Return type:

bool