Skip to content

Commit

Permalink
analysis job run fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiCheng45 committed Mar 14, 2024
1 parent 052a53a commit b75576e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def __init__(self, *args, **kwargs):
except AttributeError:
filename = None
if filename is not None:
self._configurator.configure(filename)
label = QLabel(filename, self._base)
self._layout.addWidget(label)
trajectory_path, _ = os.path.split(filename)
Expand Down Expand Up @@ -58,7 +59,7 @@ def default_labels(self):
self._tooltip = "The input trajectory to be processed"

def get_value(self):
return self.default_path
return self._configurator["value"]

def get_widget_value(self):
return self.get_value()
1 change: 0 additions & 1 deletion MDANSE_GUI/Src/MDANSE_GUI/Tabs/Visualisers/Action.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ def update_panel(self, job_name: str) -> None:
dtype = value[0]
ddict = value[1]
configurator = job_instance.configuration[key]
configurator.configure(self._input_trajectory)
if not "label" in ddict.keys():
ddict["label"] = key
ddict["configurator"] = configurator
Expand Down

0 comments on commit b75576e

Please sign in to comment.