From d29a55e0a65d8a8d4b431007bb50ea699cd0ead1 Mon Sep 17 00:00:00 2001 From: Timothy Nunn Date: Wed, 24 Apr 2024 10:43:45 +0100 Subject: [PATCH] Add tauelaw back to mfile --- process/physics.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/process/physics.py b/process/physics.py index 3480ed528b..86b830c1c1 100644 --- a/process/physics.py +++ b/process/physics.py @@ -3856,9 +3856,20 @@ def outplas(self): ) po.oblnkl(self.outfile) + tauelaw = f2py_compatible_to_string( + physics_variables.tauscl[physics_variables.isc - 1] + ) + po.ocmmnt( self.outfile, - f"Confinement scaling law: {f2py_compatible_to_string(physics_variables.tauscl[physics_variables.isc - 1])}", + f"Confinement scaling law: {tauelaw}", + ) + + po.ovarst( + self.outfile, + "Confinement scaling law", + "(tauelaw)", + f'"{tauelaw.strip().split(" ")[0]}"', ) po.ovarrf(