Skip to content

Commit 1d2f797

Browse files
committed
fixed error catching
1 parent d8466a7 commit 1d2f797

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bbconf/config_parser/bedbaseconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def _init_umap_model(self) -> Union[UMAP, None]:
451451
with open(model_path, "rb") as file:
452452
umap_model = joblib.load(file)
453453
print(f"UMAP model loaded from local path: {model_path}")
454-
except (FileNotFoundError, joblib.JoblibException) as e:
454+
except FileNotFoundError as e:
455455
_LOGGER.error(f"Error loading UMAP model from local path: {e}")
456456
return None
457457

0 commit comments

Comments
 (0)