Skip to content

Commit

Permalink
DOn't merge, just for troubleshooting CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Stevens-Haas committed Jun 13, 2024
1 parent 9474e7f commit af18610
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion derivative/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
else:
from importlib.metadata import entry_points

hyperparam_algorithms = entry_points(group="derivative.hyperparam_opt")
try:
hyperparam_algorithms = entry_points(group="derivative.hyperparam_opt")
except TypeError as exc:
import sys
raise TypeError(f"Oops, no 'group' kwarg. function imported from {entry_points.__module__}")


def _load_hyperparam_func(func_key):
Expand Down

0 comments on commit af18610

Please sign in to comment.