Skip to content

Commit

Permalink
Fixed simulation.py after merge
Browse files Browse the repository at this point in the history
Space charge/csr simulation content did not merge in correctly originally, this fixes it.
  • Loading branch information
proy30 committed Oct 24, 2024
1 parent c00c91f commit 774b365
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/python/impactx/dashboard/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ def fig_to_base64(fig):

def run_simulation():
"""
This tests using ImpactX and Pandas Dataframes
This tests runs a simulation on ImpactX
based on user inputs from the dashboard.
"""
sim = ImpactX()

Expand Down Expand Up @@ -84,7 +85,7 @@ def run_simulation():
sim.lattice.extend(lattice_configuration)

# simulate
sim.track_particles()
sim.evolve()

fig = adjusted_settings_plot(pc)
fig_original = pc.plot_phasespace()
Expand Down

0 comments on commit 774b365

Please sign in to comment.