From 49a0ba876aeb2c6bc42a6c0eb4504e24d6a04ee6 Mon Sep 17 00:00:00 2001 From: Miki Bonacci Date: Mon, 20 Jan 2025 08:52:29 +0100 Subject: [PATCH] Adding MissingEntryPointError --- src/aiida_quantumespresso/workflows/pw/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aiida_quantumespresso/workflows/pw/base.py b/src/aiida_quantumespresso/workflows/pw/base.py index 76445ff6f..9433d79ca 100644 --- a/src/aiida_quantumespresso/workflows/pw/base.py +++ b/src/aiida_quantumespresso/workflows/pw/base.py @@ -20,7 +20,7 @@ try: StructureData = DataFactory('atomistic.structure') HAS_ATOMISTIC = True -except ImportError: +except exceptions.MissingEntryPointError: HAS_ATOMISTIC = False