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
Runclass is poorly named. It should really beShot. I propose we rename, and add the following class for backwards compatibility until v4.0