Skip to content

Commit

Permalink
format more
Browse files Browse the repository at this point in the history
  • Loading branch information
pnorbert committed Mar 6, 2024
1 parent 6ed1e92 commit 0b29dde
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions testing/adios2/python/TestBPWriteTypesHighLevelAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@

# single value attributes with numpy variables
s.write_attribute("attrStr", "Testing single string attribute")
print(f"---- type of np.array(data.i8[0]) is {type(np.array(data.i8[0]))}"
f" shape = {np.array(data.i8[0]).shape}")
print(
f"---- type of np.array(data.i8[0]) is {type(np.array(data.i8[0]))}"
f" shape = {np.array(data.i8[0]).shape}"
)
s.write_attribute("attrI8", np.array(data.i8[0]))
s.write_attribute("attrI16", np.array(data.i16[0]))
s.write_attribute("attrI32", np.array(data.i32[0]))
Expand Down

0 comments on commit 0b29dde

Please sign in to comment.