Skip to content

Commit

Permalink
Fixed error
Browse files Browse the repository at this point in the history
  • Loading branch information
delarosatrevin committed Oct 4, 2024
1 parent 3bc4005 commit 1783651
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion emtools/scripts/emt-scipion-otf.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,9 @@ def batches(self):
def _updateBatch(self, batch):
self.lock.acquire()
self.batches[batch['id']] = batch
_save_json(self._json)
self._save_json(self._json)
self.lock.release()

def _createBatch2D(self, gridsquare, subsetParts):
firstId, lastId = subsetParts[0].getObjId(), subsetParts[-1].getObjId()
suffix = f"{gridsquare}: {firstId} - {lastId}"
Expand Down

0 comments on commit 1783651

Please sign in to comment.