Skip to content

Commit

Permalink
Merge pull request #181 from martimunicoy/devel
Browse files Browse the repository at this point in the history
Release version 1.4.5
  • Loading branch information
martimunicoy authored Nov 16, 2023
2 parents d952ec0 + d0f3bd0 commit 8094493
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions devtools/conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ source:
build:
script: python -m pip install . --no-deps
number: 0
noarch: python

requirements:
build:
Expand Down
10 changes: 10 additions & 0 deletions docs/releasehistory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ Releases follow the ``major.minor.micro`` scheme recommended by `PEP440 <https:/
* ``micro`` increments represent bugfix releases or improvements in documentation


1.4.5 - Corrections for alchemistry
-----------------------------------

This is a micro release of peleffy that contains corrections for alchemistry module.

Bugfixes
""""""""
- `PR #180 <https://github.com/martimunicoy/peleffy/pull/180>`_: bug fixes for alchemical topologies


1.4.4 - Corrections for alchemistry and new charge calculator
-------------------------------------------------------------

Expand Down
8 changes: 4 additions & 4 deletions peleffy/topology/alchemistry.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,12 +283,12 @@ def topology_from_lambda_set(self, lambda_set):

for bond_idx, bond in enumerate(alchemical_topology.bonds):
if bond_idx in self._exclusive_bonds:
bond.apply_lambda(["spring_constant", "eq_dist"],
bond.apply_lambda(["spring_constant", ],
lambda_set.get_lambda_for_bonded(),
reverse=False)

if bond_idx in self._non_native_bonds:
bond.apply_lambda(["spring_constant", "eq_dist"],
bond.apply_lambda(["spring_constant", ],
lambda_set.get_lambda_for_bonded(),
reverse=True)

Expand All @@ -309,12 +309,12 @@ def topology_from_lambda_set(self, lambda_set):

for angle_idx, angle in enumerate(alchemical_topology.angles):
if angle_idx in self._exclusive_angles:
angle.apply_lambda(["spring_constant", "eq_angle"],
angle.apply_lambda(["spring_constant", ],
lambda_set.get_lambda_for_bonded(),
reverse=False)

if angle_idx in self._non_native_angles:
angle.apply_lambda(["spring_constant", "eq_angle"],
angle.apply_lambda(["spring_constant", ],
lambda_set.get_lambda_for_bonded(),
reverse=True)

Expand Down

0 comments on commit 8094493

Please sign in to comment.