Skip to content

Commit

Permalink
add data back in pickle file when commit
Browse files Browse the repository at this point in the history
  • Loading branch information
quanpython committed Nov 28, 2023
1 parent a9da4d6 commit 7d2c297
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions studio/app/optinist/core/edit_ROI/edit_ROI.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ def commit(self):
self.function_id,
)

info["edit_roi_data"].images = self.data.images

self.__update_pickle_for_roi_edition(self.pickle_file_path, info)
self.__save_json(info)
self.__update_whole_nwb(info)
Expand Down

0 comments on commit 7d2c297

Please sign in to comment.