original_docstring: 
          returns a list with all csv files in the KD folder
          
docstring: returns a list with all csv files in the KD folder
docstring_tokens: returns a list with all csv files in the KD folder
code: def find_csv(self):
          '''
          returns a list with all csv files in the KD folder
          '''
          #pattern: must end with '.csv'
          #csv_find=re.compile('REF52nuc1line.*tracks\.csv$')
          csv_find=re.compile('REF52cell.csv')
  
          #finds the directory with that specific name
          #find_dir='trackXY'
          find_dir='out'
  
          self.i_dirs=[]
          #Knockdown pattern, must match inserted variable self.__KD followed by '/'
          #and one or more digits
          for root, dirs, files in os.walk(self.exp_path):
              #print (root)
              #looks in each folder from given path
              #if folder is matching the KD pattern, the find_dir pattern and
              #if there are csv files
              if find_dir in root and len([x for x in files if re.search(csv_find, x)])!=0:
                  #finds the csv files in the folder and adds them to a list
                  csv_files=[x for x in files if re.search(csv_find, x)]
                  for csv in csv_files:
                      #each csv file is added to the path and appended to a list
                      self.i_dirs.append(os.path.join(root, csv))     
          #print(self.i_dirs)
          return self.i_dirs
code_tokens: def find_csv ( self ) : csv_find = re . compile ( 'REF52cell.csv' ) find_dir = 'out' self . i_dirs = [ ] for root , dirs , files in os . walk ( self . exp_path ) : if find_dir in root and len ( [ x for x in files if re . search ( csv_find , x ) ] ) != 0 : csv_files = [ x for x in files if re . search ( csv_find , x ) ] for csv in csv_files : self . i_dirs . append ( os . path . join ( root , csv ) ) return self . i_dirs
short_docstring: returns a list with all csv files in the KD folder
short_docstring_tokens: returns a list with all csv files in the KD folder
comment: '''
          returns a list with all csv files in the KD folder
          '''$SEP$#pattern: must end with '.csv'$SEP$#csv_find=re.compile('REF52nuc1line.*tracks\.csv$')$SEP$#finds the directory with that specific name$SEP$#find_dir='trackXY'$SEP$#Knockdown pattern, must match inserted variable self.__KD followed by '/'$SEP$#and one or more digits$SEP$#print (root)$SEP$#looks in each folder from given path$SEP$#if folder is matching the KD pattern, the find_dir pattern and$SEP$#if there are csv files$SEP$#finds the csv files in the folder and adds them to a list$SEP$#each csv file is added to the path and appended to a list$SEP$#print(self.i_dirs)