Fixed bugs with progress file close
This commit is contained in:
@ -375,6 +375,7 @@ def iterate(lmp_binary, input_folder, input_list, config, results, progress_file
|
||||
msg = f"COMPLETED: {input} marked as completed in the progress file {progress_file}"
|
||||
logger.info(msg)
|
||||
print(msg)
|
||||
progress.write(msg)
|
||||
progress.close()
|
||||
test_id = test_id + 1
|
||||
continue
|
||||
@ -451,6 +452,7 @@ def iterate(lmp_binary, input_folder, input_list, config, results, progress_file
|
||||
progress.write(f"{input}: {{ folder: {input_folder}, status: skipped, unsupported log file format}}\n")
|
||||
progress.close()
|
||||
test_id = test_id + 1
|
||||
continue
|
||||
else:
|
||||
logger.info(f" Cannot find a reference log file for {input_test}.")
|
||||
# try to read in the thermo yaml output from the working directory
|
||||
|
||||
Reference in New Issue
Block a user