Skip to content

Commit

Permalink
auto
Browse files Browse the repository at this point in the history
  • Loading branch information
dimonaks committed Jun 4, 2018
1 parent a6c577b commit af7efde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion neb.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def add_neb(starting_calc = None, st = None, st_end = None,
else:
#try to find automatically among alkali - special case for batteries
for i, typ, x in zip(range(st.natom), st.get_elements(), st.xcart):
if typ in ['Li', 'Na', 'K', 'Rb']:
if typ in ['Li', 'Na', 'K', 'Rb', 'Mg']:
atoms_to_move.append([i, typ, x])
if typ not in atoms_to_move_types:
atoms_to_move_types.append(typ)
Expand Down
2 changes: 2 additions & 0 deletions project_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2028,6 +2028,8 @@ def make_neb(base_id, atom_to_insert, cat, update):

scale_regions[new_ion] = (-4,4)

# print(new_ion)
# sys.exit()


if up:
Expand Down

0 comments on commit af7efde

Please sign in to comment.