From bee0bce07cd06d6f55615db8c25de9ce69926a45 Mon Sep 17 00:00:00 2001 From: TheMetrifiedMe <131648171+TheMetrifiedMe@users.noreply.github.com> Date: Mon, 9 Sep 2024 10:31:29 +0200 Subject: [PATCH] Update oa-percentage.ipynb changed referenced variable to make addition work. --- notebooks/institutions/oa-percentage.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/institutions/oa-percentage.ipynb b/notebooks/institutions/oa-percentage.ipynb index 3cc3e2e..b9119af 100644 --- a/notebooks/institutions/oa-percentage.ipynb +++ b/notebooks/institutions/oa-percentage.ipynb @@ -208,7 +208,7 @@ " for index, group in enumerate(work_groups):\n", " print(f\"--> Group {index+1} includes all works where `is_oa` is {group['key']} and has a count of {group['count']} publications.\")\n", "\n", - " if group['key']==\"true\":\n", + " if group['key_display_name']==\"true\":\n", " open_works_count += group['count']\n", " else: \n", " closed_works_count += group['count']\n",