Skip to content

Commit

Permalink
Fix flake8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Mar 15, 2024
1 parent bf1b933 commit a3f39aa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pyext/src/macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def execute_macro(self):
str(myindex) + ".out"
if not self.test_mode:
output.init_stat2(replica_stat_file, [rex],
extralabels=["score"])
extralabels=["score"])

print("Setting up best pdb files")
if not self.is_multi_state:
Expand Down Expand Up @@ -607,13 +607,13 @@ def execute_macro(self):
rex.swap_temp(i, score)

if self.nest and len(sampled_likelihoods) > 0:
with open(
"likelihoods_" + \
str(self.replica_exchange_object.get_my_index()),"wb") as lif:
with open("likelihoods_"
+ str(self.replica_exchange_object.get_my_index()),
"wb") as lif:
pickle.dump(sampled_likelihoods, lif)

nestor_rmf_fname = str(self.nestor_rmf_fname) + '_' + \
str(self.replica_exchange_object.get_my_index()) +'.rmf3'
str(self.replica_exchange_object.get_my_index()) + '.rmf3'

self.rmf_h = RMF.create_rmf_file(nestor_rmf_fname)
IMP.rmf.add_hierarchy(self.rmf_h, self.root_hier)
Expand Down

0 comments on commit a3f39aa

Please sign in to comment.