Skip to content

Commit

Permalink
Have to use values for common
Browse files Browse the repository at this point in the history
  • Loading branch information
ijpulidos committed Dec 5, 2023
1 parent 3a5f1be commit fe06fa2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions feflow/protocols/nonequilibrium_cycling.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ def _execute(self, ctx, *, state_a, state_b, mapping, settings, **inputs):
# e. create the stateA System
state_a_system = system_generator.create_system(
state_a_modeller.topology,
molecules=list(chain(alchemical_small_mols_a.values(), common_small_mols)),
molecules=list(chain(alchemical_small_mols_a.values(),
common_small_mols.values())),
)

# 2. Get stateB system
Expand All @@ -229,7 +230,8 @@ def _execute(self, ctx, *, state_a, state_b, mapping, settings, **inputs):

state_b_system = system_generator.create_system(
state_b_topology,
molecules=list(chain(alchemical_small_mols_b.values(), common_small_mols)),
molecules=list(chain(alchemical_small_mols_b.values(),
common_small_mols.values())),
)

# c. Define correspondence mappings between the two systems
Expand Down

0 comments on commit fe06fa2

Please sign in to comment.