From 65a4a30e6bb8c71c8d6741f56bc3a39a06d9d98b Mon Sep 17 00:00:00 2001 From: Julia Schumann Date: Mon, 25 Nov 2024 10:42:17 +0100 Subject: [PATCH] fix error loop through dict --- src/nomad_catalysis/schema_packages/catalysis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nomad_catalysis/schema_packages/catalysis.py b/src/nomad_catalysis/schema_packages/catalysis.py index f7ac94b..6a14395 100644 --- a/src/nomad_catalysis/schema_packages/catalysis.py +++ b/src/nomad_catalysis/schema_packages/catalysis.py @@ -2101,9 +2101,9 @@ def reduce_haber_data(self, archive: 'EntryArchive', logger: 'BoundLogger') -> N 'Time': self.results[0].time_on_stream, } data_dict_no_ramps = {} - for key in data_dict: + for key, value in data_dict.items(): data_dict_no_ramps[key] = self.remove_ramps_from_data( - data_dict['Temp'], data_dict[key] + data_dict['Temp'], value ) # getting the temperature values of each step