diff --git a/tardis/io/atom_data/base.py b/tardis/io/atom_data/base.py index 09d24ddd1d8..4ec8728a6ee 100644 --- a/tardis/io/atom_data/base.py +++ b/tardis/io/atom_data/base.py @@ -664,7 +664,7 @@ def get_attributes_from_store(store, store_key): try: attribute = store.root._v_attrs[store_key] if hasattr(attribute, "decode"): - attribute = (store.root._v_attrs[attribute].decode("ascii"),) + attribute = (attribute.decode("ascii"),) except KeyError: logger.debug( f"{store_key} not available for Atom Data. Setting value to None"