From 19230dc301cbad0d800f6b6ec9db254fed2bff56 Mon Sep 17 00:00:00 2001 From: Hazem Essam Date: Tue, 23 Aug 2022 15:26:17 +0200 Subject: [PATCH] fixed an import exception --- omegafold/pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omegafold/pipeline.py b/omegafold/pipeline.py index 146c39e..9512783 100644 --- a/omegafold/pipeline.py +++ b/omegafold/pipeline.py @@ -43,7 +43,7 @@ try: from torch.backends import mps # Compatibility with earlier versions -except IndexError: +except ImportError: mps = None