merge json

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