merge json

parent 5c8d18f3
...@@ -18,8 +18,8 @@ def L2ASCLtoDict(filename, wkt): ...@@ -18,8 +18,8 @@ def L2ASCLtoDict(filename, wkt):
count = Counter([]) count = Counter([])
for r in data: for r in data:
count = count + Counter(r) count = count + Counter(r)
sclDict = {str(k):v for k,v in dict(count)}
return dict(count) return
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
def main(argv): def main(argv):
if len(sys.argv) != 3: if len(sys.argv) != 3:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment