adapting dropdown text
This commit is contained in:
@@ -516,7 +516,7 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def saveProportionalReportingRatiosAndUpdateHtmlFile(prrByVaccineAndSymptom, webAppBaseDir):\n",
|
||||
"def saveProportionalReportingRatiosAndUpdateHtmlFile(prrByVaccineAndSymptom, webAppBaseDir, defaultSelectVaccineOptionText):\n",
|
||||
" prrByVaccineAndSymptom = DataFrameFilter.withoutZeroRowsAndZeroColumns(prrByVaccineAndSymptom)\n",
|
||||
" filenameBySymptom = saveProportionalReportingRatios4PrrByVaccineBySymptomWithoutZeroPrrs(prrByVaccineAndSymptom, webAppBaseDir)\n",
|
||||
" filenameByDrug = saveProportionalReportingRatios4PrrBySymptomByVaccineWithHighPrrs(prrByVaccineAndSymptom, webAppBaseDir)\n",
|
||||
@@ -527,7 +527,8 @@
|
||||
" vaccinesDescr = {\n",
|
||||
" 'vaccines': list(prrByVaccineAndSymptom.index),\n",
|
||||
" 'filenameByDrug': filenameByDrug },\n",
|
||||
" htmlFile = os.path.normpath(webAppBaseDir + '/index.html'))\n"
|
||||
" htmlFile = os.path.normpath(webAppBaseDir + '/index.html'),\n",
|
||||
" defaultSelectVaccineOptionText = defaultSelectVaccineOptionText)\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -551,7 +552,8 @@
|
||||
" prrByVaccineAndSymptom = pd.read_csv(\n",
|
||||
" 'data/prrByDrugAndSymptom-EudraVigilance.csv',\n",
|
||||
" index_col = 'DRUG'),\n",
|
||||
" webAppBaseDir = os.getcwd() + '/../docs/SymptomsCausedByDrugs')"
|
||||
" webAppBaseDir = os.getcwd() + '/../docs/SymptomsCausedByDrugs',\n",
|
||||
" defaultSelectVaccineOptionText = 'Select Drug')"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -586,7 +588,8 @@
|
||||
"source": [
|
||||
"saveProportionalReportingRatiosAndUpdateHtmlFile(\n",
|
||||
" prrByVaccineAndSymptom = prrByVaccineAndSymptom,\n",
|
||||
" webAppBaseDir = os.getcwd() + '/../docs/SymptomsCausedByVaccines')"
|
||||
" webAppBaseDir = os.getcwd() + '/../docs/SymptomsCausedByVaccines',\n",
|
||||
" defaultSelectVaccineOptionText = 'Select Vaccine')"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user