Skip to content

Commit

Permalink
Minor change to append
Browse files Browse the repository at this point in the history
  • Loading branch information
ccuetom committed Oct 18, 2024
1 parent 327d01f commit 03fd31a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mosaic/file_manipulation/h5.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ def append(name, obj, group):
append(sub_group_name, obj[index], sub_group)

else:
_write_dataset(name, obj, group)
if name not in group:
_write_dataset(name, obj, group)


def _write_dataset(name, obj, group):
Expand Down

0 comments on commit 03fd31a

Please sign in to comment.