Skip to content

Commit

Permalink
make it clearer how many samples are used for FEP
Browse files Browse the repository at this point in the history
  • Loading branch information
saratk1 committed Feb 28, 2024
1 parent 66641b3 commit 6549a4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion endstate_correction/neq.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ def perform_switching(
inst_switching = True
if nr_of_switches == -1: # if no specific nr_of_switches is provided (-1 is the default value), use all provided equilibrium samples
nr_of_switches = len(samples)
print(f"{nr_of_switches} dE values will be calculated")
print(f"{nr_of_switches} dE values will be calculated using all provided equilibrium samples")
else:
print(f"{nr_of_switches} dE values will be calculated using {nr_of_switches} random equilibrium samples")
elif len(lambdas) < 2:
raise RuntimeError("increase the number of lambda states")
else:
Expand Down

0 comments on commit 6549a4a

Please sign in to comment.