Skip to content

Commit 033a920

Browse files
committed
flake8
1 parent d268fc1 commit 033a920

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/utils/bp5dbg/adios2/bp5dbg/idxtable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def ReadIndex(f, fileSize, verbose):
8080
AppTime = str(ddata[0]).ljust(10)
8181
AppOutputStr = " | AppTime = " + AppTime
8282
data = np.frombuffer(table, dtype=np.uint64, count=3,
83-
offset=pos+8)
83+
offset=pos + 8)
8484
pos = pos + 1 * 8 + 3 * 8
8585

8686
stepstr = str(step).ljust(6)

source/utils/bp5dbg/adios2/bp5dbg/metadata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def ReadMetadataStep(f, fileSize, MetadataEntry, WriterMapEntry):
1818

1919
currentpos = f.tell()
2020
if mdpos > currentpos:
21-
print(f"Offset {currentpos}..{mdpos-1} is a gap unaccounted for")
21+
print(f"Offset {currentpos}..{mdpos - 1} is a gap unaccounted for")
2222

2323
if mdpos < currentpos:
2424
print(f"ERROR: step {step} metadata pos {mdpos} points before the "
@@ -40,7 +40,7 @@ def ReadMetadataStep(f, fileSize, MetadataEntry, WriterMapEntry):
4040
if (mdsize == mdsize_in_file[0] + 8):
4141
print(f" Size = {mdsize_in_file[0]}")
4242
else:
43-
print(f"ERROR: md record supposed to be {mdsize-8} + 8 bytes "
43+
print(f"ERROR: md record supposed to be {mdsize - 8} + 8 bytes "
4444
f"(as recorded in index), but found in file "
4545
f"{mdsize_in_file[0]}")
4646

0 commit comments

Comments
 (0)