You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Frames inherit from ASE's Atoms class, but due to differences in attributes, many functions unexpectedly break.
For example, attempting to print a single Frame raises AttributeError: 'numpy.ndarray' object has no attribute 'get_chemical_formula'.
Errors also occur when attempting to calculate distances between Frames using ase.geometry.distance, as this calls atoms.copy(), which raises TypeError: __init__() got an unexpected keyword argument 'cell'.
Unexpected arguments could be fixed by adding **kwargs, but Frame currently also requires arguments that would be missing.
The same error (AttributeError: 'numpy.ndarray' object has no attribute 'formula') is also thrown when attempting to write a .cif file through Dataset.write.
The text was updated successfully, but these errors were encountered:
Frames inherit from ASE's
Atoms
class, but due to differences in attributes, many functions unexpectedly break.For example, attempting to print a single
Frame
raisesAttributeError: 'numpy.ndarray' object has no attribute 'get_chemical_formula'
.Errors also occur when attempting to calculate distances between
Frames
usingase.geometry.distance
, as this callsatoms.copy()
, which raisesTypeError: __init__() got an unexpected keyword argument 'cell'
.Unexpected arguments could be fixed by adding **kwargs, but Frame currently also requires arguments that would be missing.
The same error (
AttributeError: 'numpy.ndarray' object has no attribute 'formula'
) is also thrown when attempting to write a .cif file throughDataset.write
.The text was updated successfully, but these errors were encountered: