Load settings onto instrument does not support submodules
This was flagged by @adamorangeqs and is due to us adopting the use of submodules in quantify-scheduler.
The load_settings_onto_instrument
function no longer works with the new transmon element. This is because all the parameters are now hidden in submodules, so when it looks for qubit.parameters
, all it finds is {'IDN': <qcodes.instrument.parameter.Parameter: IDN at 2587319610336>}
.
We need to update this function so that it searches through all the nested submodules in the transmon element and updates all of parameters.