Well done, glad to know you have sorted it.
Just one point to note:- its not a thermocouple , which consists of two dissimilar metals usually a type S ,which is Platinum/Rhodium alloy and pure platinum welded together at the 'hot' end. A thermocouple connects directly into the gas valve and holds it open by generating a small electrical current/voltage when hot to a small solenoid coil built into the gas valve. The ignitor electrode is a single rod of tungsten in a ceramic holder (don't ever ever try and bend one ) and when a flame is present this will rectify an A.C current to a D.C one ( thermionic emission like in those old valves) which effectively shorts out the high voltage drive circuit used to create the spark and this 'loading' of the drive circuit is monitored and whilst it is 'loaded' the circuit knows the flame is present and the electronics then keeps the gas valve open. The annoying thing is that manufacturers usually embed this part of the control circuitry in resin making it really difficult and uneconomical to repair the circuit which can just be simple component failure.