Skip to content

Commit

Permalink
Don't use obsolete ReplicaExchange0 class
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Jun 16, 2023
1 parent 78b0585 commit 1ee1325
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions integrative_modeling/scripts/modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@

# run replica exchange Monte-Carlo for the first time
print("\nWARM-UP RUNS")
rex1 = IMP.pmi.macros.ReplicaExchange0(m, root_hier,
rex1 = IMP.pmi.macros.ReplicaExchange(m, root_hier,
monte_carlo_sample_objects=dof.get_movers(),
global_output_directory="./output_warmup",
output_objects=restraint_list,
Expand All @@ -256,7 +256,7 @@

# run replica exchange Monte-Carlo again
print("\nPRODUCTION RUNS")
rex2 = IMP.pmi.macros.ReplicaExchange0(m, root_hier,
rex2 = IMP.pmi.macros.ReplicaExchange(m, root_hier,
monte_carlo_sample_objects=dof.get_movers(),
global_output_directory="output",
output_objects=restraint_list,
Expand Down
4 changes: 2 additions & 2 deletions integrative_modeling_VOC/scripts/modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@

# run replica exchange Monte-Carlo for the first time
print("\nWARM-UP RUNS")
rex1 = IMP.pmi.macros.ReplicaExchange0(m, root_hier,
rex1 = IMP.pmi.macros.ReplicaExchange(m, root_hier,
monte_carlo_sample_objects=dof.get_movers(),
global_output_directory="./output_warmup",
output_objects=restraint_list,
Expand All @@ -285,7 +285,7 @@

# run replica exchange Monte-Carlo again
print("\nPRODUCTION RUNS")
rex2 = IMP.pmi.macros.ReplicaExchange0(m, root_hier,
rex2 = IMP.pmi.macros.ReplicaExchange(m, root_hier,
monte_carlo_sample_objects=dof.get_movers(),
global_output_directory="output",
output_objects=restraint_list,
Expand Down

0 comments on commit 1ee1325

Please sign in to comment.