Skip to content

Commit

Permalink
BUG: Ensure that no FrozenSettings are modified
Browse files Browse the repository at this point in the history
  • Loading branch information
Bas van Beek committed Mar 15, 2022
1 parent 83bc825 commit cf586ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nanoCAT/asa/md_asa.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def _get_neutral_psf(psf: PSFContainer, frag_neutral: Molecule, frag_count: int)

def _md2opt(s: Settings) -> Settings:
"""Convert CP2K MD settings to CP2K geometry optimization settings."""
s2 = s.copy()
s2 = Settings(s)
del s2.input.motion.md
s2.input['global'].run_type = 'geometry_optimization'

Expand Down

0 comments on commit cf586ab

Please sign in to comment.