Skip to content

Commit

Permalink
🐛 Suppress error message for missing CS circuit data in plot_current_…
Browse files Browse the repository at this point in the history
…profiles_over_time
  • Loading branch information
chris-ashe committed Feb 12, 2025
1 parent cd6b2cc commit 085a754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process/io/plot_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def plot_current_profiles_over_time(
cs_circuit = [mfile_data.data[f"cs_t{i}"].get_scan(scan) for i in range(6)]
axis.plot(t_steps, cs_circuit, label="CS Coil", linestyle="--")
except KeyError:
print("CS circuit data not found in MFILE.")
pass

# Plasma current values
plasmat1 = mfile_data.data["plasmat1"].get_scan(scan)
Expand Down

0 comments on commit 085a754

Please sign in to comment.