Skip to content

Commit

Permalink
fix logger name
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaus Weinbauer committed Apr 15, 2024
1 parent 147cd37 commit 4f79296
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion synrbl/SynMCSImputer/SubStructure/extract_common_mcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from joblib import Parallel, delayed
from typing import List, Dict, Tuple

logger = logging.getLogger("SynRBL")
logger = logging.getLogger("synrbl")


class ExtractMCS:
Expand Down
2 changes: 1 addition & 1 deletion synrbl/SynMCSImputer/SubStructure/mcs_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from rdkit.rdBase import BlockLogs

logger = logging.getLogger("SynRBL")
logger = logging.getLogger("synrbl")


def single_mcs(
Expand Down
1 change: 1 addition & 0 deletions synrbl/SynMCSImputer/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ def run(self, reactions: list[dict], stats=None):
block_logs = BlockLogs()
for reaction in reactions:
if self.mcs_data_col not in reaction.keys():
reaction[self.issue_col] = "No MCS identified."
continue
mcs_applied += 1
try:
Expand Down
2 changes: 1 addition & 1 deletion synrbl/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from synrbl.SynMCSImputer.model import MCSBasedMethod
from synrbl.confidence_prediction import ConfidencePredictor

logger = logging.getLogger("SynRBL")
logger = logging.getLogger("synrbl")


class Balancer:
Expand Down

0 comments on commit 4f79296

Please sign in to comment.