code: def _update_config_w_custom(config, lane_info):
      
      config = copy.deepcopy(config)
      custom = config["custom_algorithms"].get(lane_info.get("analysis", None),
              None)
      if custom:
          for key, val in custom.iteritems():
              config["algorithm"][key] = val
      return config
docs: Update the configuration for this lane if a custom analysis is specified.