From b1d3f798cf5b1bc8af9c5ffa062eb89592f108c6 Mon Sep 17 00:00:00 2001 From: Clair Mould <86794332+clmould@users.noreply.github.com> Date: Tue, 13 Aug 2024 17:00:16 +0100 Subject: [PATCH] correction to plot_proc to match default of iohcl=1 --- process/io/plot_proc.py | 2 +- process/pfcoil.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/process/io/plot_proc.py b/process/io/plot_proc.py index c3394b2868..5036ac608a 100755 --- a/process/io/plot_proc.py +++ b/process/io/plot_proc.py @@ -2059,7 +2059,7 @@ def plot_pf_coils(axis, mfile_data, scan, colour_scheme): # If Central Solenoid present, ignore last entry in for loop # The last entry will be the OH coil in this case - if iohcl == 0: + if iohcl == 1: noc = number_of_coils - 1 else: noc = number_of_coils diff --git a/process/pfcoil.py b/process/pfcoil.py index a2950a37b4..adbeabcd50 100644 --- a/process/pfcoil.py +++ b/process/pfcoil.py @@ -2341,7 +2341,7 @@ def outpf(self): op.ovarre( self.mfile, f"PF coil {k} radius (m)", - f"(rpf[{k}]", + f"(rpf[{k}])", pfv.rpf[k], ) op.ovarre(