Skip to content

Commit

Permalink
Merge pull request #69 from pylada/fix_68
Browse files Browse the repository at this point in the history
Fixing sytax error in issue #68
  • Loading branch information
ftherrien authored Oct 13, 2023
2 parents 1516ea5 + f3b0632 commit aade657
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/pylada/espresso/structure_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,11 @@ def add_structure(structure, f90namelist, cards):
positions.value += "%s %18.12e %18.12e %18.12e\n" % (atom.type, atom.pos[0],
atom.pos[1], atom.pos[2])
else:
positions.value += "%s %18.12e %18.12e %18.12e %i %i %i\n"
%(atom.type, atom.pos[0],atom.pos[1], atom.pos[2],
'x' not in getattr(atom, 'freeze', ''),
'y' not in getattr(atom, 'freeze', ''),
'z' not in getattr(atom, 'freeze', ''))
positions.value += "%s %18.12e %18.12e %18.12e %i %i %i\n"%(
atom.type, atom.pos[0],atom.pos[1], atom.pos[2],
'x' not in getattr(atom, 'freeze', ''),
'y' not in getattr(atom, 'freeze', ''),
'z' not in getattr(atom, 'freeze', ''))
# end selective dynamics modification

__add_forces_to_input(cards, structure)
Expand Down

0 comments on commit aade657

Please sign in to comment.