merge json

parent 6dc53e43
...@@ -24,9 +24,10 @@ def main(argv): ...@@ -24,9 +24,10 @@ def main(argv):
dataArea = imageMissingData(argv[1]) dataArea = imageMissingData(argv[1])
if dataArea<float(argv[2])/100.0 : if dataArea<float(argv[2])/100.0 :
print ("Deleting " + argv[1] + " " + str(dataArea)) print ("Deleting " + argv[1] + " " + str(dataArea))
os.system("rm " + argv[1])
else: else:
print ("Keeping " + argv[1] + " " + str(dataArea)) print ("Keeping " + argv[1] + " " + str(dataArea))
os.system("rm " + argv[1])
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
......
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