Skip to content

AdsorptionSites incompatible with newest numpy version #105

Open
@tiagojoaog

Description

@tiagojoaog

Creating np.array() from inhomogeneous lists is no longer allowed. "dtype=object" has to be explicitly stated.
Examples where the issue exists:
-catkit.gen.adsorption lines 60-61, 94, 876-877

fix: self.r1_topology = np.array(self.r1_topology) --> self.r1_topology = np.array(self.r1_topology, dtype=object)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions