docs: def list_installed_genomes(genome_dir=None):
      """
      List all available genomes.
  
      Parameters
      ----------
      genome_dir : str
          Directory with installed genomes.
  
      Returns
      -------
      list with genome names
      """
      if not genome_dir:
          genome_dir = config.get("genome_dir", None)
      if not genome_dir:
          raise norns.exceptions.ConfigError("Please provide or configure a genome_dir")
  
      return [f for f in os.listdir(genome_dir) if 
              _is_genome_dir(genome_dir + "/" + f)]