Skip to content

Commit

Permalink
Updage get number of atoms
Browse files Browse the repository at this point in the history
get_number_of_atoms() → get_global_number_of_atoms()
  • Loading branch information
vladislavivanistsev committed May 20, 2022
1 parent 9cb2712 commit cad8c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catlearn/optimize/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def ase_to_catlearn(list_atoms):
images = []
constraints = first_image.constraints
number_images = len(list_atoms)
num_atoms = first_image.get_number_of_atoms()
num_atoms = first_image.get_global_number_of_atoms()
list_train = []
list_targets = []
list_gradients = []
Expand Down

0 comments on commit cad8c5c

Please sign in to comment.