Open
Description
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)
Metadata
Metadata
Assignees
Labels
No labels