removing batchCodeTable

This commit is contained in:
frankknoll
2023-04-13 10:51:45 +02:00
parent 5c205acd32
commit 8bc3d63a3a
3 changed files with 3 additions and 8 deletions

View File

@@ -1,8 +1,6 @@
from IOUtils import IOUtils
import numpy as np
def createAndSaveGlobalBatchCodeTable(minADRsForLethality, batchCodeTableFactory):
def createGlobalBatchCodeTable(minADRsForLethality, batchCodeTableFactory):
batchCodeTable = batchCodeTableFactory.createGlobalBatchCodeTable()
batchCodeTable.index.set_names("Batch", inplace=True)
if minADRsForLethality is not None:
@@ -22,6 +20,4 @@ def createAndSaveGlobalBatchCodeTable(minADRsForLethality, batchCodeTableFactory
'Severe reports',
'Lethality'
]]
# FK-TODO: remove Global.json
IOUtils.saveDataFrameAsJson(batchCodeTable, '../docs/data/batchCodeTables/Global.json')
return batchCodeTable