qipe-nlab / Labber-PSICT

The Pulse-Sequence Instrument Control Tool. Developing scripts to allow string-based input to Labber for more flexible control over pulse sequence configurations.
MIT License
3 stars 1 forks source link

WorkerScriptManager errors calling methods with no pulse sequence name specified #11

Open SamWolski opened 5 years ago

SamWolski commented 5 years ago

Original report by Samuel Wolski (Bitbucket: 557058:90b732eb-6ab1-4b27-9495-eb00eafde259, GitHub: samwolski).


When (accidentally or intentionally) calling methods such as update_parameters before any measurements have been called (ie before the WorkerScriptManager instance has had a pulse_sequence_name parameter specified in any way), errors and/or undefined behaviour occurs.

The expected result should be that the processing of the methods should still be carried out. Potentially, doing so without specifying a pulse sequence name prior could issue a warning depending on the specific method in question.