SUNCAT-Center/CatKit

AdsorptionSites incompatible with newest numpy version

tiagojoaog opened this issue · 0 comments

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)