code: def _load_custom_config(run_config):
      
      from pyhocon import ConfigFactory, HOCONConverter, ConfigTree
      conf = ConfigFactory.parse_file(run_config)
      out = {}
      if "database" in conf:
          out["database"] = HOCONConverter.to_hocon(ConfigTree({"database": conf.get_config("database")}))
      return out
docs: Load custom configuration input HOCON file for cromwell.