Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: stop using protected type as a field name on the Variable dataclass #54

Open
hollandjg opened this issue Nov 17, 2023 · 0 comments
Labels
bug Something isn't working. documentation Improvements or additions to documentation.

Comments

@hollandjg
Copy link
Member

... and update the data_type so it reads:

@dataclass
class Variable:
    """Describes an experimental variable: name, type, range, units, and value of a variable."""

    name: str = ""
    value_range: Optional[Tuple[Any, Any]] = None
    allowed_values: Optional[Sequence] = None
    units: str = ""
    value_type: ValueType = ValueType.REAL
    variable_label: str = ""
    rescale: float = 1
    is_covariate: bool = False
    data_type: Optional[type] = None
@hollandjg hollandjg added bug Something isn't working. documentation Improvements or additions to documentation. labels Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. documentation Improvements or additions to documentation.
Projects
None yet
Development

No branches or pull requests

1 participant