You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Run class is poorly named. It should really be Shot. I propose we rename, and add the following class for backwards compatibility until v4.0
import warnings
class Run(Shot):
def __init__(self, *args, **kwargs):
warnings.warn("The 'Run' class has been renamed to 'Shot' (but is otherwise compatible). 'Run' will be removed in lyse v4.0. Please update your analysis code to use the 'Shot` class", DeprecationWarning)
super().__init__(*args, **kwargs)
The text was updated successfully, but these errors were encountered:
Resolves Rename Run to Shot labscript-suite#81
Renamed classes/arguments/docs from run to shot and added dprecation notices where appropriate.
Arguments (distinct from keyword arguments) were renamed without worrying about backwards compatibility under the assumption that people are not using them as keyword arguments (which is technically possible).
The
Run
class is poorly named. It should really beShot
. I propose we rename, and add the following class for backwards compatibility until v4.0The text was updated successfully, but these errors were encountered: