merge json

parent 858645c4
...@@ -18,7 +18,7 @@ def L2ASCLtoDict(filename, wkt): ...@@ -18,7 +18,7 @@ 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)} sclDict = {str(k):v for k,v in dict(count).items()}
return return
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
def main(argv): def main(argv):
......
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