original_docstring: Write ANIb/ANIm/TETRA results to output directory.
  
      - results - tuple of dataframes from analysis
  
      Each dataframe is written to an Excel-format file (if args.write_excel is
      True), and plain text tab-separated file in the output directory. The
      order of result output must be reflected in the order of filestems.
      
docstring: 
  
  Each dataframe is written to an Excel-format file (if args.write_excel is
  True), and plain text tab-separated file in the output directory. The
  order of result output must be reflected in the order of filestems.
docstring_tokens: Each dataframe is written to an Excel - format file ( if args . write_excel is True ) and plain text tab - separated file in the output directory . The order of result output must be reflected in the order of filestems .
code: def write(results, filestems):
      """Write ANIb/ANIm/TETRA results to output directory.
  
      - results - tuple of dataframes from analysis
  
      Each dataframe is written to an Excel-format file (if args.write_excel is
      True), and plain text tab-separated file in the output directory. The
      order of result output must be reflected in the order of filestems.
      """
      logger.info("Writing %s results to %s" % (args.method, args.outdirname))
      for df, filestem in zip(results, filestems):
          logger.info("\t%s" % filestem)
          if args.write_excel:
              df.to_excel(os.path.join(args.outdirname, filestem) + '.xlsx',
                          index=True)
          df.to_csv(os.path.join(args.outdirname, filestem) + '.tab',
                    index=True, sep="\t")
code_tokens: def write ( results , filestems ) : logger . info ( "Writing %s results to %s" % ( args . method , args . outdirname ) ) for df , filestem in zip ( results , filestems ) : logger . info ( "\t%s" % filestem ) if args . write_excel : df . to_excel ( os . path . join ( args . outdirname , filestem ) + '.xlsx' , index = True ) df . to_csv ( os . path . join ( args . outdirname , filestem ) + '.tab' , index = True , sep = "\t" )
short_docstring: Write ANIb/ANIm/TETRA results to output directory.
short_docstring_tokens: Write ANIb / ANIm / TETRA results to output directory .
comment: """Write ANIb/ANIm/TETRA results to output directory.
  
      - results - tuple of dataframes from analysis
  
      Each dataframe is written to an Excel-format file (if args.write_excel is
      True), and plain text tab-separated file in the output directory. The
      order of result output must be reflected in the order of filestems.
      """