adapting BatchCodeTableIntoHistogramDescriptionTableMergerTest for Hospitalization
This commit is contained in:
@@ -28,6 +28,7 @@ class BatchCodeTableIntoHistogramDescriptionTableMerger:
|
||||
'Deaths',
|
||||
'Disabilities',
|
||||
'Life Threatening Illnesses',
|
||||
'Hospitalization',
|
||||
'Company'
|
||||
]]
|
||||
|
||||
|
||||
@@ -33,8 +33,8 @@ class BatchCodeTableIntoHistogramDescriptionTableMergerTest(unittest.TestCase):
|
||||
data = ['1808982']))
|
||||
|
||||
batchCodeTable = TestHelper.createDataFrame(
|
||||
columns = ['Adverse Reaction Reports', 'Deaths', 'Disabilities', 'Life Threatening Illnesses', 'Company', 'Severe reports', 'Lethality'],
|
||||
data = [ [2, 1, 2, 2, 'MODERNA', 2/2 * 100, np.nan]],
|
||||
columns = ['Adverse Reaction Reports', 'Deaths', 'Disabilities', 'Life Threatening Illnesses', 'Hospitalization', 'Company', 'Severe reports', 'Lethality'],
|
||||
data = [ [2, 1, 2, 2, 3, 'MODERNA', 2/2 * 100, np.nan]],
|
||||
index = pd.Index(
|
||||
name = 'VAX_LOT',
|
||||
data = ['1808982']))
|
||||
@@ -54,6 +54,7 @@ class BatchCodeTableIntoHistogramDescriptionTableMergerTest(unittest.TestCase):
|
||||
'Deaths': 1,
|
||||
'Disabilities': 2,
|
||||
'Life Threatening Illnesses': 2,
|
||||
'Hospitalization': 3,
|
||||
'Company': 'MODERNA',
|
||||
'histograms': [
|
||||
{
|
||||
|
||||
@@ -25,7 +25,7 @@ FK-TODO:
|
||||
see: L_THREAT, 'Life Threatening Illnesses'
|
||||
+ BatchCodeTableFactoryTest
|
||||
+ DataFrameFilterTest
|
||||
- SevereColumnAdder
|
||||
+ SevereColumnAdder
|
||||
+ SummationTableFactory
|
||||
+ VaersDescrReaderTest
|
||||
+ VaersDescrReader
|
||||
@@ -34,8 +34,8 @@ FK-TODO:
|
||||
- batchCodes.html
|
||||
- BatchCodeTableInitializer
|
||||
+ BatchCodeTableFactory
|
||||
- BatchCodeTableIntoHistogramDescriptionTableMergerTest
|
||||
- BatchCodeTableIntoHistogramDescriptionTableMerger
|
||||
+ BatchCodeTableIntoHistogramDescriptionTableMergerTest
|
||||
+ BatchCodeTableIntoHistogramDescriptionTableMerger
|
||||
- BatchCodeTablePersister.py
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user