Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
updated output_reader.py to reflect new IO syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
cwishard committed Dec 2, 2022
1 parent 2cf2da6 commit eb7bf33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Basic_Simulation/output_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import matplotlib.pyplot as plt

# Read in the simulation output and store it as an Xarray dataset
ds = swiftest.Simulation(param_file="param.in").ds
ds = swiftest.Simulation(param_file="simdata/param.in", read_old_output_file=True).data

# Plot of the data and save the output plot
colors = ['white' if x == 'Massive Body' else 'black' for x in ds['particle_type']]
Expand Down

0 comments on commit eb7bf33

Please sign in to comment.