adding BatchCodeTableIntoHistogramDescriptionTableMerger

This commit is contained in:
frankknoll
2023-04-12 23:46:33 +02:00
parent ecf9bb996f
commit a715dc6cab
6 changed files with 132 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
import os
import json
import simplejson as json
class IOUtils:
@@ -31,7 +31,7 @@ class IOUtils:
def saveDictAsJson(dict, file):
IOUtils.ensurePath(file)
with open(file, 'w') as outfile:
json.dump(dict, outfile)
json.dump(dict, outfile, ignore_nan=True)
@staticmethod
def ensurePath(file):