From ad6e8e745e0b649057c23ff897432f3203ae1864 Mon Sep 17 00:00:00 2001 From: Carl Buchholz <32228189+aGuyLearning@users.noreply.github.com> Date: Wed, 15 Jan 2025 11:45:25 +0100 Subject: [PATCH] Update ehrapy/plot/_survival_analysis.py Co-authored-by: Eljas Roellin <65244425+eroell@users.noreply.github.com> --- ehrapy/plot/_survival_analysis.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ehrapy/plot/_survival_analysis.py b/ehrapy/plot/_survival_analysis.py index 029b0a59..685dbcd3 100644 --- a/ehrapy/plot/_survival_analysis.py +++ b/ehrapy/plot/_survival_analysis.py @@ -346,7 +346,6 @@ def cox_ph_forestplot( .. image:: /_static/docstring_previews/coxph_forestplot.png """ - # check if the key exists in the uns if uns_key not in adata.uns: raise ValueError(f"Key {uns_key} not found in adata.uns. Please provide a valid key.")