original_docstring:  Just makes sure to remove
          all temp files
          
docstring: Just makes sure to remove
  all temp files
docstring_tokens: Just makes sure to remove all temp files
code: def clean_filenames(self):
          """ Just makes sure to remove
          all temp files
          """
          if self.clean:
              for file_name in list(FILENAMES.values()):
                  safeRemove(file_name)
          if not self.keep_discarded_files:
              for file_name in list(FILENAMES_DISCARDED.values()):
                  safeRemove(file_name)
          if self.temp_folder is not None and os.path.isdir(self.temp_folder):
              safeRemove(os.path.join(self.temp_folder, "unzipped_fastq_fw.fastq"))
              safeRemove(os.path.join(self.temp_folder, "unzipped_fastq_rv.fastq"))
              star_temp1 = os.path.join(self.temp_folder, "_STARgenome")
              star_temp2 = os.path.join(self.temp_folder, "_STARpass1")
              if os.path.isdir(star_temp1):
                  shutil.rmtree(star_temp1)
              if os.path.isdir(star_temp2):
                  shutil.rmtree(star_temp2)
              if self.clean and not self.keep_discarded_files \
                      and self.temp_folder != self.output_folder:
                  shutil.rmtree(self.temp_folder)
code_tokens: def clean_filenames ( self ) : if self . clean : for file_name in list ( FILENAMES . values ( ) ) : safeRemove ( file_name ) if not self . keep_discarded_files : for file_name in list ( FILENAMES_DISCARDED . values ( ) ) : safeRemove ( file_name ) if self . temp_folder is not None and os . path . isdir ( self . temp_folder ) : safeRemove ( os . path . join ( self . temp_folder , "unzipped_fastq_fw.fastq" ) ) safeRemove ( os . path . join ( self . temp_folder , "unzipped_fastq_rv.fastq" ) ) star_temp1 = os . path . join ( self . temp_folder , "_STARgenome" ) star_temp2 = os . path . join ( self . temp_folder , "_STARpass1" ) if os . path . isdir ( star_temp1 ) : shutil . rmtree ( star_temp1 ) if os . path . isdir ( star_temp2 ) : shutil . rmtree ( star_temp2 ) if self . clean and not self . keep_discarded_files and self . temp_folder != self . output_folder : shutil . rmtree ( self . temp_folder )
short_docstring: Just makes sure to remove
  all temp files
short_docstring_tokens: Just makes sure to remove all temp files
comment: """ Just makes sure to remove
          all temp files
          """