original_docstring: Verifies syntax of folder is correct
  
      Args:
          folder (str): what to validate
      Returns:
          str: cleaned up folder name
      
docstring: Verifies syntax of folder is correct
docstring_tokens: Verifies syntax of folder is correct
code: def parse_folder(folder):
      """Verifies syntax of folder is correct
  
      Args:
          folder (str): what to validate
      Returns:
          str: cleaned up folder name
      """
      if folder is None or len(folder) == 0:
          raise util.Error('blank folder')
      res = []
      for f in folder.split('/'):
          if len(f):
              res.append(parse_name(f))
      return '/' + '/'.join(res)
code_tokens: def parse_folder ( folder ) : if folder is None or len ( folder ) == 0 : raise util . Error ( 'blank folder' ) res = [ ] for f in folder . split ( '/' ) : if len ( f ) : res . append ( parse_name ( f ) ) return '/' + '/' . join ( res )
short_docstring: Verifies syntax of folder is correct
short_docstring_tokens: Verifies syntax of folder is correct
comment: """Verifies syntax of folder is correct
  
      Args:
          folder (str): what to validate
      Returns:
          str: cleaned up folder name
      """