Skip to content

Commit

Permalink
avoid bare except (#1715)
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored Sep 29, 2022
1 parent 7a816d3 commit 7188546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reacnetgenerator/_hmmfilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
try:
# hmmlearn v0.2.8 renamed MultinomialHMM to CategoricalHMM
from hmmlearn.hmm import CategoricalHMM as MultinomialHMM
except:
except ImportError:
from hmmlearn.hmm import MultinomialHMM

from .utils import WriteBuffer, appendIfNotNone, bytestolist, listtobytes, run_mp, SharedRNGData
Expand Down

0 comments on commit 7188546

Please sign in to comment.