refactoring

This commit is contained in:
frankknoll
2023-02-16 15:02:48 +01:00
parent 0ffc5881b6
commit 97ec1683ce
2 changed files with 3 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ def createAndSaveGlobalHistograms(symptomByBatchcodeTable):
saveHistograms(histogramDescriptionTable, 'Global')
def createAndSaveHistogramsForCountries(symptomByBatchcodeTable, countries):
def createAndSaveHistogramsForCountries(symptomByBatchcodeTable):
dictByBatchcodeTable = createHistograms(symptomByBatchcodeTable)
explodedTable = MultiIndexExploder.explodeMultiIndexOfTable(dictByBatchcodeTable)
histogramDescriptionTable = HistogramDescriptionTableFactory.createHistogramDescriptionTable(explodedTable)

View File

@@ -20,8 +20,7 @@
"from BatchCodeTableHtmlUpdater import updateBatchCodeTableHtmlFile\n",
"from BatchCodeTablePersister import createAndSaveBatchCodeTables\n",
"from SymptomByBatchcodeTableFactory import SymptomByBatchcodeTableFactory\n",
"from HistogramFactoryAndPersister import createAndSaveGlobalHistograms, createAndSaveHistogramsForCountries\n",
"from HtmlUtils import getCountries"
"from HistogramFactoryAndPersister import createAndSaveGlobalHistograms, createAndSaveHistogramsForCountries"
]
},
{
@@ -128,7 +127,7 @@
"metadata": {},
"outputs": [],
"source": [
"createAndSaveHistogramsForCountries(symptomByBatchcodeTable, getCountries(international_VAERSVAX_Covid19))"
"createAndSaveHistogramsForCountries(symptomByBatchcodeTable)"
]
},
{