Skip to content

Commit

Permalink
yapf formatting of the pressure probes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ludgerpaehler committed Oct 27, 2024
1 parent 9ac74bc commit df0cb03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/cylinder/pressure-probes.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ def log_postprocess(flow):
print_fmt = "t: {0:0.2f},\t\t p[4]: {5}" # This will format the output
log = hgym.utils.io.LogCallback(
postprocess=log_postprocess,
nvals=n_probes*2 + 1 if observation_type == "velocity_probes" else n_probes + 1,
nvals=n_probes * 2 +
1 if observation_type == "velocity_probes" else n_probes + 1,
interval=1,
print_fmt=print_fmt,
filename=data_file,
Expand Down

0 comments on commit df0cb03

Please sign in to comment.