Skip to content

Windows specific int comparison error #120

@Caleb-Carr

Description

@Caleb-Carr

In pdb_utils.py, the following line in def reassign_b_factor raises an error when run on a windows machine because windows handles int differently than unix systems

if df[site_col].dtype != int:
        raise ValueError("function currently requires `site_col` to be int")

This is explained in the following post: https://stackoverflow.com/questions/64901822/why-do-pandas-integer-dtypes-not-behave-the-same-on-unix-and-windows

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