Skip to content

Commit

Permalink
Override SerialMasterBaser.append to unlock the server object tempora…
Browse files Browse the repository at this point in the history
…rily
  • Loading branch information
pmrv committed Dec 19, 2023
1 parent bfb5c1f commit 76cd589
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyiron_base/jobs/master/serial.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,10 @@ def _init_child_job(self, parent):
):
self.server.run_mode.interactive = True

def append(self, job):
with self.server.unlocked():
super().append(job)


class GenericOutput(OrderedDict):
"""
Expand Down

0 comments on commit 76cd589

Please sign in to comment.