code: def _family_notes_path(family, data_dir):
      '''Form a path to the notes for a family'''
  
      data_dir = fix_data_dir(data_dir)
  
      family = family.lower()
      if not family in get_families(data_dir):
          raise RuntimeError("Family '{}' does not exist".format(family))
  
      file_name = 'NOTES.' + family.lower()
      file_path = os.path.join(data_dir, file_name)
      return file_patf _family_notes_path(family, data_dir):
      '''Form a path to the notes for a family'''
  
      data_dir = fix_data_dir(data_dir)
  
      family = family.lower()
      if not family in get_families(data_dir):
          raise RuntimeError("Family '{}' does not exist".format(family))
  
      file_name = 'NOTES.' + family.lower()
      file_path = os.path.join(data_dir, file_name)
      return file_path
docs: Form a path to the notes for a family