Skip to content

Commit

Permalink
Automatically setup progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
ctessum committed Sep 9, 2024
1 parent 376f5e0 commit f0b3e27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/quickstart/3d_sim.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ function pbar(start, finish)
save_positions = (false, false),
)
end
# Uncomment this line to see a progress bar.
#csys = couple(csys, pbar(starttime, endtime))
# Set up a progress bar for the simulation, only if not running on GitHub Actions.
csys = "RUNNER_TEMP" ∈ keys(ENV) ? csys : couple(csys, pbar(starttime, endtime))
sim = Simulator(csys, [deg2rad(2), deg2rad(2), 1])
Expand Down

0 comments on commit f0b3e27

Please sign in to comment.