overwrite last found datapoint
Since the creation crashes, the data of the last point is often incomplete and causes errors later down the pipeline. Overwriting this should alleviate this issue at a reasonable cost.
This commit is contained in:
@@ -233,7 +233,7 @@ if __name__ == '__main__':
|
||||
else:
|
||||
if sys.argv[1] == '--resume':
|
||||
try:
|
||||
start = max([int(dir) for dir in os.listdir(out_root) if str.isdigit(dir)]) or 0
|
||||
start = max([int(dir) for dir in os.listdir(out_root) if str.isdigit(dir)]) - 1 or 0
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user