Skip to content

Replace (r['treeHeight'] or 0) pattern with explicit None-handling #110

@carpalsgrabby

Description

@carpalsgrabby

The table uses (r['treeHeight'] or 0) which can accidentally treat 0 and None the same.
Refactor to explicitly check is None and handle that differently (e.g., show -1 or skip).
This makes the output more semantically correct and avoids hiding legitimate zero values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions