docstr: Return the settings as seen by the user
docstr_tok: ["Return","the","settings","as","seen","by","the","user"]
code: def visible_settings(self):
      """Return the settings as seen by the user"""
      result = [self.delimiter, self.directory, self.wants_prefix]
      if self.wants_prefix:
          result += [self.prefix]
      result += [
          self.wants_overwrite_without_warning,
          self.add_metadata,
          self.add_filepath,
          self.nan_representation,
          self.pick_columns,
      ]
      if self.pick_columns:
          result += [self.columns]
      result += [
          self.wants_aggregate_means,
          self.wants_aggregate_medians,
          self.wants_aggregate_std,
          self.wants_genepattern_file,
      ]
      if self.wants_genepattern_file:
          result += [self.how_to_specify_gene_name]
          if self.how_to_specify_gene_name == GP_NAME_METADATA:
              result += [self.gene_name_column]
          elif self.how_to_specify_gene_name == GP_NAME_FILENAME:
              result += [self.use_which_image_for_gene_name]
      result += [self.wants_everything]
      if not self.wants_everything:
          previous_group = None
          for index, group in enumerate(self.object_groups):
              result += [group.name]
              append_file_name = True
              if is_object_group(group):
                  if (not previous_group is None) and is_object_group(
                      previous_group
                  ):
                      #
                      # Show the previous-group button if there was a previous
                      # group and it was an object group
                      #
                      result += [group.previous_file]
                      if group.previous_file.value:
                          append_file_name = False
              if append_file_name:
                  result += [group.wants_automatic_file_name]
                  if not group.wants_automatic_file_name:
                      result += [group.file_name]
              result += [group.remover, group.divider]
              previous_group = group
          result += [self.add_button]
      return result
  
imports: import base64
  import csv
  import logging
  import os
  import numpy
  from cellprofiler_core.constants.image import C_MD5_DIGEST, C_SCALING, C_HEIGHT, C_WIDTH
  from cellprofiler_core.constants.measurement import EXPERIMENT, IMAGE, AGG_MEAN, AGG_MEDIAN, AGG_STD_DEV, C_URL, C_PATH_NAME, C_FILE_NAME, NEIGHBORS, R_FIRST_IMAGE_NUMBER, R_SECOND_IMAGE_NUMBER, R_FIRST_OBJECT_NUMBER, R_SECOND_OBJECT_NUMBER
  from cellprofiler_core.constants.module import IO_FOLDER_CHOICE_HELP_TEXT, IO_WITH_METADATA_HELP_TEXT, USING_METADATA_HELP_REF, USING_METADATA_TAGS_REF
  from cellprofiler_core.constants.pipeline import EXIT_STATUS
  from cellprofiler_core.measurement import Measurements
  from cellprofiler_core.module import Module
  from cellprofiler_core.preferences import ABSOLUTE_FOLDER_NAME
  from cellprofiler_core.preferences import DEFAULT_INPUT_FOLDER_NAME
  from cellprofiler_core.preferences import DEFAULT_INPUT_SUBFOLDER_NAME
  from cellprofiler_core.preferences import DEFAULT_OUTPUT_FOLDER_NAME
  from cellprofiler_core.preferences import DEFAULT_OUTPUT_SUBFOLDER_NAME
  from cellprofiler_core.preferences import get_headless
  from cellprofiler_core.setting import Binary
  from cellprofiler_core.setting import Divider
  from cellprofiler_core.setting import Measurement
  from cellprofiler_core.setting import SettingsGroup
  from cellprofiler_core.setting import ValidationError
  from cellprofiler_core.setting.choice import CustomChoice, Choice
  from cellprofiler_core.setting.do_something import DoSomething, RemoveSettingButton
  from cellprofiler_core.setting.multichoice import MeasurementMultiChoice
  from cellprofiler_core.setting.subscriber import ImageSubscriber, LabelSubscriber
  from cellprofiler_core.setting.text import Directory, Text
  from cellprofiler_core.utilities.core.modules.load_data import is_file_name_feature, is_path_name_feature
  from cellprofiler_core.utilities.measurement import find_metadata_tokens, get_agg_measurement_name
  from cellprofiler.gui.help.content import MEASUREMENT_NAMING_HELP
label_desc: Use image node_id 5 for calling the ExportToSpreadsheet obj's underlying member method code with example usage: obj.visible_settings() and returns: result