Skip to content

Commit

Permalink
Update dm_reader.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gduscher committed Sep 10, 2023
1 parent e95d231 commit b82bfb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SciFiReaders/readers/microscopy/em/tem/dm_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ def read(self):
for index, dataset in self.datasets.items():
if 'urvey' in dataset.title:
main_dataset_number = index
self.datasets[main_dataset_number].original_metadata.update(self.__stored_tags)
main_dataset_key = list(self.datasets.keys())[0]
self.datasets[main_dataset_key].original_metadata.update(self.__stored_tags)
self.close()
return self.datasets

Expand Down

0 comments on commit b82bfb6

Please sign in to comment.