Lots more python cleanup

This commit is contained in:
Jordan Carlin 2024-12-17 16:32:49 -08:00
parent 0e3030dc23
commit 21e35c9068
No known key found for this signature in database
20 changed files with 82 additions and 82 deletions

View file

@ -31,7 +31,7 @@ def tabulate_arch_sweep(directory):
file_path = os.path.join(directory, file)
lines = []
try:
f = open(file_path, "r")
f = open(file_path)
lines = f.readlines()
except:
f.close()
@ -84,4 +84,4 @@ def run_arch_sweep():
directory = run_arch_sweep()
#directory = "run_20231120_072037-caches"
tabulate_arch_sweep(directory)
tabulate_arch_sweep(directory)

View file

@ -104,4 +104,4 @@ def main():
if __name__ == '__main__':
sys.exit(main())
# "ls -Art ../addins/embench-iot/logs/*speed* | tail -n 1 " # gets most recent embench speed log
# "ls -Art ../addins/embench-iot/logs/*speed* | tail -n 1 " # gets most recent embench speed log