Skip to content

Commit e70afab

Browse files
committed
message fixing
1 parent 5dc284f commit e70afab

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

bnlearn/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
import pgmpy
4646
# Check version pgmpy
4747
if version.parse(pgmpy.__version__) < version.parse("0.1.18"):
48-
raise ImportError('[bnlearn] >Error: This release requires pgmpy to be version >= 0.1.26. Try to: <pip install -U pgmpy==0.1.26>')
48+
raise ImportError('[bnlearn] >Error: This release requires pgmpy to be version == 0.1.26. Try to: <pip install -U pgmpy==0.1.26>')
4949

5050
# Version check
5151
import matplotlib

bnlearn/bnlearn.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,6 @@
3333
import pypickle
3434
import bnlearn
3535

36-
# import logging
37-
# # Ensuring a minimum width of 12
38-
# NAME_WIDTH = max(len(__name__), 12)
39-
# logger = logging.getLogger('')
40-
# [logger.removeHandler(handler) for handler in logger.handlers[:]]
41-
# logging.basicConfig(
42-
# format=f"%(asctime)s [%(name)-{NAME_WIDTH}s]> %(levelname)-8s> %(message)s",
43-
# datefmt="%d-%m-%y %H:%M:%S",
44-
# level=logging.INFO)
45-
# logger = logging.getLogger(__name__)
46-
47-
4836
# %% Convert adjmat to bayesian model
4937
def to_bayesiannetwork(model, verbose=3):
5038
"""Convert adjacency matrix to BayesianNetwork.

0 commit comments

Comments
 (0)