Skip to content

Commit

Permalink
Started to re-implement phono3py workchain
Browse files Browse the repository at this point in the history
  • Loading branch information
atztogo committed Jul 4, 2020
1 parent 4a63e66 commit 7d2837b
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 618 deletions.
10 changes: 5 additions & 5 deletions aiida_phonopy/workflows/iter_ha.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ def get_random_displacements(structure,

displacements, forces, energies = _collect_dataset(data)
max_items = number_of_steps_for_fitting.value
if 'inclde_ratio' in data:
ratio = data['inclde_ratio'].value
if 'include_ratio' in data:
ratio = data['include_ratio'].value
else:
ratio = None
d, f, e, included = _create_dataset(
Expand All @@ -281,12 +281,12 @@ def get_random_displacements(structure,

# Generate random displacements at a given temperature
if 'random_seed' in data:
_random_seed = data['random_seed'].value
random_seed = data['random_seed'].value
else:
_random_seed = None
random_seed = None
ph.generate_displacements(
number_of_snapshots=number_of_snapshots.value,
random_seed=_random_seed,
random_seed=random_seed,
temperature=temperature.value)

ret_dict = {'displacement_dataset': Dict(dict=ph.dataset)}
Expand Down
146 changes: 0 additions & 146 deletions aiida_phonopy/workflows/optimize.py

This file was deleted.

0 comments on commit 7d2837b

Please sign in to comment.