Skip to content

Commit

Permalink
print out configs when initializing NPLinker class
Browse files Browse the repository at this point in the history
  • Loading branch information
CunliangGeng committed May 10, 2024
1 parent 8db4937 commit 2c2876b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nplinker/nplinker.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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()

Expand Down

0 comments on commit 2c2876b

Please sign in to comment.