Skip to content

Commit

Permalink
fix if
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Feb 23, 2024
1 parent 7e37f5b commit 3705b23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Exec/science/massive_star/analysis/massive_star_multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def make_plot(plotfile, prefix="plot", width_frac=0.1,
t_drive = 0.0
if "[*] castro.drive_initial_convection_tmax" in ds.parameters:
t_drive = ds.parameters["[*] castro.drive_initial_convection_tmax"]
elif "[*] castro.drive_initial_convection_tmax" in ds.parameters:
t_drive = ds.parameters["[*] castro.drive_initial_convection_tmax"]
elif "castro.drive_initial_convection_tmax" in ds.parameters:
t_drive = ds.parameters["castro.drive_initial_convection_tmax"]
print(t_drive)

xmin = ds.domain_left_edge[0]
Expand Down

0 comments on commit 3705b23

Please sign in to comment.