From 9463ed1e6c6e9dce6fdb3807256e6aafaefdc025 Mon Sep 17 00:00:00 2001 From: Dominik Demuth Date: Tue, 19 Sep 2023 17:05:06 +0200 Subject: [PATCH] improve performance for show/hide graphs --- src/nmreval/io/hdfreader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nmreval/io/hdfreader.py b/src/nmreval/io/hdfreader.py index f3fe96e..e1d9c73 100644 --- a/src/nmreval/io/hdfreader.py +++ b/src/nmreval/io/hdfreader.py @@ -134,8 +134,8 @@ class HdfNode: else: self.parameter[key] = value - # if self.parent is not None: - # self.parent.set_parameter(key, value, keep=True) + if self.parent is not None: + self.parent.set_parameter(key, value, keep=True) def set_title_parameter(self, child_node, params): if params: