updating jupyter notebook section for EudraVigilance

This commit is contained in:
Frank Knoll
2024-07-12 00:02:16 +02:00
parent 4fd0bc7490
commit dabacf6199

View File

@@ -511,7 +511,7 @@
"del prrByVaccineBySymptom\n", "del prrByVaccineBySymptom\n",
"gc.collect()\n", "gc.collect()\n",
"\n", "\n",
"saveProportionalReportingRatios(\n", "filenameBySymptom = saveProportionalReportingRatios(\n",
" prrByVaccineBySymptomWithoutZeroPrrs,\n", " prrByVaccineBySymptomWithoutZeroPrrs,\n",
" directory = os.path.normpath(webAppBaseDir + '/data/ProportionalReportingRatios/symptoms'))\n", " directory = os.path.normpath(webAppBaseDir + '/data/ProportionalReportingRatios/symptoms'))\n",
"\n", "\n",
@@ -531,7 +531,7 @@
"del prrBySymptomByVaccine\n", "del prrBySymptomByVaccine\n",
"gc.collect()\n", "gc.collect()\n",
"\n", "\n",
"saveProportionalReportingRatios(\n", "filenameByDrug = saveProportionalReportingRatios(\n",
" prrBySymptomByVaccineWithHighPrrs,\n", " prrBySymptomByVaccineWithHighPrrs,\n",
" directory = os.path.normpath(webAppBaseDir + '/data/ProportionalReportingRatios/vaccines'))\n", " directory = os.path.normpath(webAppBaseDir + '/data/ProportionalReportingRatios/vaccines'))\n",
"\n", "\n",
@@ -547,8 +547,12 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"updateHtmlFile(\n", "updateHtmlFile(\n",
" symptoms = list(prrByVaccineAndSymptom.columns),\n", " symptomsDescr = {\n",
" vaccines = list(prrByVaccineAndSymptom.index),\n", " 'symptoms': list(prrByVaccineAndSymptom.columns),\n",
" 'filenameBySymptom': filenameBySymptom },\n",
" vaccinesDescr = {\n",
" 'vaccines': list(prrByVaccineAndSymptom.index),\n",
" 'filenameByDrug': filenameByDrug },\n",
" htmlFile = os.path.normpath(webAppBaseDir + '/index.html'))" " htmlFile = os.path.normpath(webAppBaseDir + '/index.html'))"
] ]
}, },