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.
This changes a previous commit which just check for
Exception
. To make the code clearer, I made this instead check for the specificMissingDependancyError
.This was not done previously as the error was defined in
neps
butinstance_from_map
was inmetahyper
. I fixed this by just moving the error type definition tometahyper
and making it a bit more general as a result.Also fixed a linter error that was annoying me