From 2c2876bdaf21366b9dd6deba8641932f86238b97 Mon Sep 17 00:00:00 2001 From: Cunliang Geng Date: Fri, 10 May 2024 09:47:33 +0200 Subject: [PATCH] print out configs when initializing NPLinker class --- src/nplinker/nplinker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nplinker/nplinker.py b/src/nplinker/nplinker.py index 17af95e7..fd184660 100644 --- a/src/nplinker/nplinker.py +++ b/src/nplinker/nplinker.py @@ -1,6 +1,7 @@ from __future__ import annotations import logging import sys +from pprint import pformat from typing import TYPE_CHECKING from . import setup_logging from .arranger import DatasetArranger @@ -44,6 +45,7 @@ def __init__(self): file=config.log.get("file", ""), use_console=config.log.use_console, ) + logger.info("Configuration:\n %s", pformat(config.as_dict(), width=20, sort_dicts=False)) self._loader = DatasetLoader()