Skip to content

Commit

Permalink
Corrected loss of zattrs bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dwest77a committed Feb 6, 2024
1 parent 17afea1 commit 3875e45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pipeline/compute/serial_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,8 @@ def correct_metadata(self, allzattrs):
for key in zattrs:
if key not in self.removals:
new_zattrs[key] = zattrs[key]
else:
new_zattrs = zattrs # No removals required

self.logger.debug('Finished metadata corrections')
if not new_zattrs:
Expand Down

0 comments on commit 3875e45

Please sign in to comment.