From fd22214ffd2e6deba992c06cfc5188bdcf3e3018 Mon Sep 17 00:00:00 2001 From: Timothy Nunn Date: Wed, 1 Jul 2026 13:39:05 +0100 Subject: [PATCH] Check for confinement time in set --- process/core/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process/core/init.py b/process/core/init.py index ff52d93341..6a82c936d6 100644 --- a/process/core/init.py +++ b/process/core/init.py @@ -1060,7 +1060,7 @@ def check_process(inputs, data): # noqa: ARG001 if ( data.physics.i_plasma_pedestal == PlasmaProfileShapeType.PEDESTAL_PROFILE and ConfinementTimeModel(data.physics.i_confinement_time).mode - not in [ConfinementMode.H_MODE, ConfinementMode.I_MODE] + not in {ConfinementMode.H_MODE, ConfinementMode.I_MODE} ): logger.warning( "Non H-mode or I-mode confinement time scaling should not be used with a pedestal profile"