create dummy output files to prevent test job failures

This commit is contained in:
Axel Kohlmeyer
2024-09-11 09:15:05 -04:00
parent c3a62833c7
commit e8184e63a5

View File

@ -1236,6 +1236,22 @@ if __name__ == "__main__":
os.remove(f"input-list-{idx}.txt")
except:
pass
filename = f"run-{idx}.log"
with open(filename, "w") as f:
f.write('\n')
f.close()
filename = f"progress-{idx}.yaml"
with open(filename, "w") as f:
f.write('\n')
f.close()
filename = f"output-{idx}.xml"
with open(filename, "w") as f:
f.write('\n')
f.close()
filename = f"failure-{idx}.yaml"
with open(filename, "w") as f:
f.write('\n')
f.close()
quit()
# if the example folders are not specified from the command-line argument --example-folders