automl / neps

Neural Pipeline Search (NePS): Helps deep learning experts find the best neural pipeline.
https://automl.github.io/neps/
Apache License 2.0
53 stars 13 forks source link

fix(dependacy): Check for specific Error #39

Closed eddiebergman closed 10 months ago

eddiebergman commented 10 months ago

This changes a previous commit which just check for Exception. To make the code clearer, I made this instead check for the specific MissingDependancyError.

This was not done previously as the error was defined in neps but instance_from_map was in metahyper. I fixed this by just moving the error type definition to metahyper and making it a bit more general as a result.

Also fixed a linter error that was annoying me