original_docstring: Helper to filter one list by a list of substrings
docstring: Helper to filter one list by a list of substrings
docstring_tokens: Helper to filter one list by a list of substrings
code: def filter_files_for_fold(list_of_filenames, list_of_patients):
          """Helper to filter one list by a list of substrings"""
          from src.data.Dataset import get_patient
          return [str for str in list_of_filenames
                  if get_patient(str) in list_of_patients]
code_tokens: def filter_files_for_fold ( list_of_filenames , list_of_patients ) : from src . data . Dataset import get_patient return [ str for str in list_of_filenames if get_patient ( str ) in list_of_patients ]
short_docstring: Helper to filter one list by a list of substrings
short_docstring_tokens: Helper to filter one list by a list of substrings
comment: """Helper to filter one list by a list of substrings"""