Skip to content

Rename Run to Shot #81

Description

@philipstarkey

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions