Skip to content

Commit

Permalink
Fix line 610
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyas-arvindekar committed Mar 7, 2024
1 parent 90cd1c8 commit 542e7ac
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pyext/src/macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,12 @@ def __init__(self, model, root_hier,
sampling by caching scoring function terms on particles
that didn't move.
@param use_nestor If True, follows the Nested Sampling workflow
and skips writting stat files and replica stat files.
of the NestOR module and skips writing stat files and
replica stat files.
@param nestor_restraints A list of restraints for which
likelihoods are to be computed for use by NestOR module.
@param nestor_rmf_fname_prefix Prefix to be used for storing .rmf3
files generated by NestOR.
files generated by NestOR .
"""
self.model = model
self.vars = {}
Expand Down Expand Up @@ -607,7 +608,7 @@ def execute_macro(self):
if self.nest and len(sampled_likelihoods) > 0:
with open(
"likelihoods_"+ \
str(self.replica_exchange_object.get_my_index())","wb") as lif:
str(self.replica_exchange_object.get_my_index()),"wb") as lif:
pickle.dump(sampled_likelihoods, lif)

nestor_rmf_fname = str(self.nestor_rmf_fname)+ '_'+\
Expand Down

0 comments on commit 542e7ac

Please sign in to comment.