diff --git a/SciFiReaders/readers/microscopy/em/tem/dm_reader.py b/SciFiReaders/readers/microscopy/em/tem/dm_reader.py index 1a35c35..34d7e25 100644 --- a/SciFiReaders/readers/microscopy/em/tem/dm_reader.py +++ b/SciFiReaders/readers/microscopy/em/tem/dm_reader.py @@ -214,7 +214,7 @@ def read(self): dataset.source = 'SciFiReaders.DMReader' dataset.original_metadata['DM']['full_file_name'] = self.__filename - key = f'Channel_{image_number:03}' + key = f'Channel_{int(image_number):03d}' self.datasets[key] = dataset self.extract_crucial_metadata(key)